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.00338/0.00338, allocations: 101.8 kB / 15.88 MB, free: 6.312 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.0008929/0.0008929, allocations: 195.5 kB / 16.79 MB, free: 6.242 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.174/1.174, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6112/0.6112, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.5 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002076/0.1175, allocations: 1.292 MB / 0.5571 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1187, allocations: 0.9997 MB / 0.5581 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-06/0.1188, allocations: 0 / 0.5581 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.1188, allocations: 4 kB / 0.5581 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1191, allocations: 95.72 kB / 0.5582 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.305e-06/0.1191, allocations: 3.938 kB / 0.5582 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.524e-05/0.1192, allocations: 7.938 kB / 0.5582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.1192, allocations: 0 / 0.5582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.108e-05/0.1192, allocations: 0 / 0.5582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.1193, allocations: 4 kB / 0.5582 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-06/0.1193, allocations: 0 / 0.5582 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1195, allocations: 111.9 kB / 0.5583 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-06/0.1195, allocations: 3.984 kB / 0.5583 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.077e-05/0.1195, allocations: 0 / 0.5583 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1197, allocations: 111.8 kB / 0.5584 GB, free: 8.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1197, allocations: 4 kB / 0.5584 GB, free: 8.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1197, allocations: 0 / 0.5584 GB, free: 8.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1197, allocations: 0 / 0.5584 GB, free: 8.082 MB / 430.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.0002755/0.12, allocations: 343.5 kB / 0.5587 GB, free: 7.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1201, allocations: 12.03 kB / 0.5588 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1201, allocations: 106 kB / 0.5589 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.1202, allocations: 76.22 kB / 0.5589 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1203, allocations: 243.9 kB / 0.5592 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1203, allocations: 150.9 kB / 0.5593 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.1204, allocations: 154.9 kB / 0.5595 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.867e-05/0.1205, allocations: 104.9 kB / 0.5596 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1205, allocations: 79.22 kB / 0.5596 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1205, allocations: 150.6 kB / 0.5598 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.1206, allocations: 158.6 kB / 0.5599 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.1206, allocations: 154.6 kB / 0.5601 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1209, allocations: 445.9 kB / 0.5605 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.1209, allocations: 165.1 kB / 0.5607 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.121, allocations: 92.08 kB / 0.5607 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.121, allocations: 79.22 kB / 0.5608 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.121, allocations: 105.8 kB / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1211, allocations: 0 / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.058e-05/0.1211, allocations: 33.61 kB / 0.561 GB, free: 5.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1212, allocations: 126.7 kB / 0.5611 GB, free: 5.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.1213, allocations: 101.8 kB / 0.5612 GB, free: 5.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.1213, allocations: 25.7 kB / 0.5612 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.1213, allocations: 84.14 kB / 0.5613 GB, free: 4.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1213, allocations: 0 / 0.5613 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.1213, allocations: 9.719 kB / 0.5613 GB, free: 4.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1214, allocations: 310.8 kB / 0.5616 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.1214, allocations: 3.938 kB / 0.5616 GB, free: 4.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-06/0.1214, allocations: 4 kB / 0.5616 GB, free: 4.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.1215, allocations: 79.41 kB / 0.5617 GB, free: 4.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.1215, allocations: 75.28 kB / 0.5617 GB, free: 4.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.718e-05/0.1216, allocations: 33.58 kB / 0.5618 GB, free: 4.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1216, allocations: 83.28 kB / 0.5618 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.1216, allocations: 83.2 kB / 0.5619 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.992e-05/0.1217, allocations: 154.5 kB / 0.5621 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.949e-05/0.1217, allocations: 79.28 kB / 0.5621 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/0.1217, allocations: 162.5 kB / 0.5623 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.1218, allocations: 79.33 kB / 0.5624 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1219, allocations: 79.22 kB / 0.5625 GB, free: 3.695 MB / 430.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 9.186e-05/0.1219, allocations: 260.3 kB / 0.5627 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.122, allocations: 112.9 kB / 0.5628 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.122, allocations: 112.1 kB / 0.5629 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/0.1221, allocations: 180.2 kB / 0.5631 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/0.1222, allocations: 176.3 kB / 0.5633 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/0.1222, allocations: 184.2 kB / 0.5634 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1224, allocations: 401.2 kB / 0.5638 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.1224, allocations: 104.9 kB / 0.5639 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.1225, allocations: 112.9 kB / 0.564 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.763e-05/0.1225, allocations: 180.2 kB / 0.5642 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.1226, allocations: 180.2 kB / 0.5644 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.352e-05/0.1226, allocations: 176.3 kB / 0.5645 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.283e-05/0.1227, allocations: 180.3 kB / 0.5647 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1228, allocations: 311.8 kB / 0.565 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1229, allocations: 194 kB / 0.5652 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.1229, allocations: 176.3 kB / 0.5654 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.123, allocations: 105 kB / 0.5655 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.1231, allocations: 192.2 kB / 0.5656 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.1231, allocations: 105 kB / 0.5657 GB, free: 108 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.1232, allocations: 75.28 kB / 0.5658 GB, free: 32 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1232, allocations: 0 / 0.5658 GB, free: 32 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1235, allocations: 48.05 kB / 0.5659 GB, free: 15.98 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.0006407/0.1241, allocations: 0.9493 MB / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 2.693e-05/0.1242, allocations: 0 / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1242, allocations: 0 / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1242, allocations: 0 / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1245, allocations: 0.5281 MB / 0.5673 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.1255, allocations: 1.55 MB / 0.5688 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1257, allocations: 0.6731 MB / 0.5695 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.235e-06/0.1257, allocations: 0 / 0.5695 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.1257, allocations: 15.44 kB / 0.5695 GB, free: 12.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1257, allocations: 0 / 0.5695 GB, free: 12.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.1378, allocations: 1.731 MB / 0.5712 GB, free: 10.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.1381, allocations: 274 kB / 0.5714 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.705, allocations: 0 / 0.5714 GB, free: 10.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)