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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4755/0.4755, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 98.75 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.717e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5729, allocations: 101.7 MB / 0.6529 GB, free: 8.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.5732, allocations: 85.27 kB / 0.653 GB, free: 8.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005715/0.5789, allocations: 2.392 MB / 0.6553 GB, free: 6.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5789, allocations: 0 / 0.6553 GB, free: 6.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.5789, allocations: 4 kB / 0.6553 GB, free: 6.395 MB / 458.7 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.0002665/0.5792, allocations: 354 kB / 0.6557 GB, free: 6.008 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5793, allocations: 8.031 kB / 0.6557 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.5793, allocations: 79.86 kB / 0.6558 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.5795, allocations: 242.3 kB / 0.656 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.225e-05/0.5796, allocations: 150.6 kB / 0.6561 GB, free: 5.496 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.5796, allocations: 150.6 kB / 0.6563 GB, free: 5.348 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.361e-05/0.5797, allocations: 154.6 kB / 0.6564 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.5798, allocations: 101 kB / 0.6565 GB, free: 5.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5798, allocations: 75.28 kB / 0.6566 GB, free: 5.016 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.5799, allocations: 158.3 kB / 0.6567 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.5799, allocations: 154.5 kB / 0.6569 GB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.5802, allocations: 430.4 kB / 0.6573 GB, free: 4.254 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.5803, allocations: 168.6 kB / 0.6575 GB, free: 4.082 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.5803, allocations: 80.14 kB / 0.6575 GB, free: 4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5804, allocations: 79.28 kB / 0.6576 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.5804, allocations: 109.8 kB / 0.6577 GB, free: 3.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5804, allocations: 0 / 0.6577 GB, free: 3.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.563e-05/0.5805, allocations: 33.55 kB / 0.6578 GB, free: 3.766 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5805, allocations: 53.14 kB / 0.6578 GB, free: 3.703 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.5806, allocations: 92.98 kB / 0.6579 GB, free: 3.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.5807, allocations: 25.7 kB / 0.6579 GB, free: 3.574 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.5807, allocations: 83.58 kB / 0.658 GB, free: 3.492 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-06/0.5807, allocations: 0 / 0.658 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-07/0.5807, allocations: 4.125 kB / 0.658 GB, free: 3.488 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5808, allocations: 314.8 kB / 0.6583 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-06/0.5808, allocations: 0 / 0.6583 GB, free: 3.172 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/0.5808, allocations: 7.938 kB / 0.6583 GB, free: 3.164 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.5809, allocations: 79.22 kB / 0.6584 GB, free: 3.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.5809, allocations: 75.28 kB / 0.6585 GB, free: 3.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.873e-05/0.581, allocations: 25.7 kB / 0.6585 GB, free: 2.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.581, allocations: 84.53 kB / 0.6586 GB, free: 2.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.581, allocations: 83.22 kB / 0.6586 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.515e-05/0.5811, allocations: 158.5 kB / 0.6588 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/0.5811, allocations: 77.22 kB / 0.6589 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.679e-05/0.5812, allocations: 157.9 kB / 0.659 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.5813, allocations: 79.28 kB / 0.6591 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.5813, allocations: 75.28 kB / 0.6592 GB, free: 2.281 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.5815, allocations: 259.5 kB / 0.6594 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.454e-05/0.5815, allocations: 138.6 kB / 0.6595 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.5816, allocations: 101 kB / 0.6596 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.5817, allocations: 108.7 kB / 0.6597 GB, free: 1.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-05/0.5817, allocations: 183.2 kB / 0.6599 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/0.5818, allocations: 180.3 kB / 0.6601 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.5819, allocations: 184.2 kB / 0.6603 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.5821, allocations: 381.8 kB / 0.6606 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-05/0.5821, allocations: 101 kB / 0.6607 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.5822, allocations: 108.1 kB / 0.6608 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.994e-05/0.5822, allocations: 180.2 kB / 0.661 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.5823, allocations: 181.2 kB / 0.6612 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.5824, allocations: 189.1 kB / 0.6614 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.5825, allocations: 176.9 kB / 0.6615 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.5826, allocations: 310.9 kB / 0.6618 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.5827, allocations: 182.1 kB / 0.662 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.5827, allocations: 176.3 kB / 0.6622 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.5828, allocations: 109.4 kB / 0.6623 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.5829, allocations: 184.2 kB / 0.6624 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.5829, allocations: 108.5 kB / 0.6625 GB, free: 14.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.583, allocations: 79.28 kB / 0.6626 GB, free: 14.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.583, allocations: 4.094 kB / 0.6626 GB, free: 14.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.5833, allocations: 51.91 kB / 0.6627 GB, free: 14.48 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007711/0.5841, allocations: 0.9619 MB / 0.6636 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 3.642e-05/0.5842, allocations: 0 / 0.6636 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5842, allocations: 0 / 0.6636 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.5842, allocations: 3.938 kB / 0.6636 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5845, allocations: 0.5235 MB / 0.6641 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.5848, allocations: 188.1 kB / 0.6643 GB, free: 12.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.5851, allocations: 0.6729 MB / 0.665 GB, free: 12.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.478e-06/0.5851, allocations: 3.984 kB / 0.665 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.5851, allocations: 7.438 kB / 0.665 GB, free: 12.07 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5851, allocations: 0 / 0.665 GB, free: 12.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.6058, allocations: 1.343 MB / 0.6663 GB, free: 10.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.606, allocations: 191 kB / 0.6665 GB, free: 10.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/2.039, allocations: 0 / 0.6665 GB, free: 10.48 MB / 474.7 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/linux/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)