Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 99.86 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001494, allocations: 192 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7244/0.7244, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.03 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3123, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002101/0.3144, allocations: 1.234 MB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3157, allocations: 1.003 MB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.3157, allocations: 0 / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.3157, allocations: 5.188 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.3161, allocations: 111 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-06/0.3162, allocations: 1 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.532e-05/0.3162, allocations: 3.359 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3162, allocations: 6.5 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.3163, allocations: 5 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.3164, allocations: 7.156 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.3164, allocations: 1.188 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.3166, allocations: 113 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-06/0.3166, allocations: 3 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.3166, allocations: 0 / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3168, allocations: 104.2 kB / 0.5698 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3168, allocations: 0 / 0.5698 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3168, allocations: 0 / 0.5698 GB, free: 30.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3168, allocations: 2.25 kB / 0.5698 GB, free: 30.94 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002408/0.3171, allocations: 344.1 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3171, allocations: 10.66 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.3172, allocations: 107.6 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3172, allocations: 80.75 kB / 0.5703 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.3173, allocations: 254.6 kB / 0.5706 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3173, allocations: 151.5 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3174, allocations: 153.7 kB / 0.5709 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.258e-05/0.3174, allocations: 104.9 kB / 0.571 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3174, allocations: 78.41 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3175, allocations: 151.5 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.3175, allocations: 154.5 kB / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.3175, allocations: 156.9 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3177, allocations: 450 kB / 0.5719 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.3177, allocations: 168.4 kB / 0.5721 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.3178, allocations: 81.58 kB / 0.5721 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3178, allocations: 79.22 kB / 0.5722 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.3178, allocations: 110.3 kB / 0.5723 GB, free: 28.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3178, allocations: 0 / 0.5723 GB, free: 28.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.3179, allocations: 35.94 kB / 0.5724 GB, free: 28.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3179, allocations: 127.8 kB / 0.5725 GB, free: 28.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.318, allocations: 96.66 kB / 0.5726 GB, free: 27.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-06/0.318, allocations: 25.7 kB / 0.5726 GB, free: 27.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.318, allocations: 80.64 kB / 0.5727 GB, free: 27.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.318, allocations: 2.234 kB / 0.5727 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.3181, allocations: 12.09 kB / 0.5727 GB, free: 27.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.3181, allocations: 317.1 kB / 0.573 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.3181, allocations: 0.5312 kB / 0.573 GB, free: 27.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.3181, allocations: 1 kB / 0.573 GB, free: 27.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.028e-05/0.3181, allocations: 76.34 kB / 0.5731 GB, free: 27.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.3181, allocations: 76.22 kB / 0.5731 GB, free: 27.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.537e-05/0.3182, allocations: 36.97 kB / 0.5732 GB, free: 27.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3182, allocations: 84.53 kB / 0.5733 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3182, allocations: 76.5 kB / 0.5733 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3183, allocations: 157.3 kB / 0.5735 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.053e-05/0.3183, allocations: 77.77 kB / 0.5736 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.3183, allocations: 156.3 kB / 0.5737 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.3184, allocations: 85.31 kB / 0.5738 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3184, allocations: 77.19 kB / 0.5739 GB, free: 26.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.3184, allocations: 260.1 kB / 0.5741 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3185, allocations: 111.6 kB / 0.5742 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.3185, allocations: 108.5 kB / 0.5743 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.3185, allocations: 177.6 kB / 0.5745 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/0.3186, allocations: 186.3 kB / 0.5747 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.3186, allocations: 187.2 kB / 0.5748 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3187, allocations: 402.3 kB / 0.5752 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.3187, allocations: 110.6 kB / 0.5753 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.3188, allocations: 102.8 kB / 0.5754 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.409e-05/0.3188, allocations: 188.3 kB / 0.5756 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3188, allocations: 182.6 kB / 0.5758 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-05/0.3188, allocations: 183.1 kB / 0.576 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-05/0.3189, allocations: 177.6 kB / 0.5761 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.171e-05/0.3189, allocations: 310.5 kB / 0.5764 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.319, allocations: 185.4 kB / 0.5766 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.319, allocations: 183.4 kB / 0.5768 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.3191, allocations: 103.6 kB / 0.5769 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3191, allocations: 178.5 kB / 0.577 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3191, allocations: 110.8 kB / 0.5772 GB, free: 23.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.97e-05/0.3191, allocations: 78.59 kB / 0.5772 GB, free: 23.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3192, allocations: 1.406 kB / 0.5772 GB, free: 23.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.3195, allocations: 38.77 kB / 0.5773 GB, free: 23.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005538/0.3201, allocations: 0.9383 MB / 0.5782 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 3.294e-05/0.3201, allocations: 5.438 kB / 0.5782 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3201, allocations: 5.281 kB / 0.5782 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3201, allocations: 7.406 kB / 0.5782 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3204, allocations: 457.4 kB / 0.5786 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007307/0.3211, allocations: 1.555 MB / 0.5802 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.3212, allocations: 0.6727 MB / 0.5808 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.856e-06/0.3212, allocations: 5.125 kB / 0.5808 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.3213, allocations: 11.64 kB / 0.5808 GB, free: 19.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3213, allocations: 0 / 0.5808 GB, free: 19.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.3409, allocations: 1.854 MB / 0.5826 GB, free: 19.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/7.067, allocations: 19.77 kB / 0.5827 GB, free: 19.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)