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.001347/0.001347, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5348/0.5348, allocations: 90.81 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 348.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008438, allocations: 104 kB / 421.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.992e-05, allocations: 4 kB / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 72.31 MB / 0.5603 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.63, allocations: 102.3 MB / 0.6603 GB, free: 5.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6303, allocations: 85.69 kB / 0.6603 GB, free: 5.449 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006554/0.6369, allocations: 2.504 MB / 0.6628 GB, free: 3.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6369, allocations: 1.156 kB / 0.6628 GB, free: 3.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.6369, allocations: 4.062 kB / 0.6628 GB, free: 3.562 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.0002814/0.6372, allocations: 365.2 kB / 0.6631 GB, free: 3.164 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.6373, allocations: 11.98 kB / 0.6632 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.6374, allocations: 105.8 kB / 0.6633 GB, free: 3.039 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.6374, allocations: 79.23 kB / 0.6633 GB, free: 2.961 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.6376, allocations: 241.5 kB / 0.6636 GB, free: 2.688 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.6377, allocations: 150.6 kB / 0.6637 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.6377, allocations: 154.6 kB / 0.6639 GB, free: 2.387 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.232e-05/0.6378, allocations: 105 kB / 0.664 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.6378, allocations: 76.78 kB / 0.664 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.6379, allocations: 150.6 kB / 0.6642 GB, free: 2.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.638, allocations: 150.6 kB / 0.6643 GB, free: 1.906 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.638, allocations: 162.5 kB / 0.6645 GB, free: 1.746 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.6383, allocations: 449.2 kB / 0.6649 GB, free: 1.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.6384, allocations: 172.6 kB / 0.6651 GB, free: 1.086 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.6384, allocations: 80.14 kB / 0.6651 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.6385, allocations: 75.28 kB / 0.6652 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.6386, allocations: 122.8 kB / 0.6653 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6386, allocations: 0 / 0.6653 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.063e-05/0.6386, allocations: 25.7 kB / 0.6654 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.6387, allocations: 126.7 kB / 0.6655 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.6388, allocations: 92.19 kB / 0.6656 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.6388, allocations: 25.7 kB / 0.6656 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.6389, allocations: 80.14 kB / 0.6657 GB, free: 436 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.6389, allocations: 4.125 kB / 0.6657 GB, free: 432 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.6389, allocations: 0 / 0.6657 GB, free: 432 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.639, allocations: 314.8 kB / 0.666 GB, free: 108 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.639, allocations: 3.938 kB / 0.666 GB, free: 104 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.639, allocations: 4 kB / 0.666 GB, free: 100 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.639, allocations: 75.28 kB / 0.666 GB, free: 24 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.563e-05/0.6391, allocations: 79.22 kB / 0.6661 GB, free: 15.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.104e-05/0.6392, allocations: 29.69 kB / 0.6662 GB, free: 15.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.6392, allocations: 88.38 kB / 0.6662 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.6392, allocations: 82.28 kB / 0.6663 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.245e-05/0.6393, allocations: 154.5 kB / 0.6665 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-05/0.6393, allocations: 75.28 kB / 0.6665 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.472e-05/0.6394, allocations: 158.5 kB / 0.6667 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.6395, allocations: 75.28 kB / 0.6668 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.6395, allocations: 79.28 kB / 0.6668 GB, free: 15.21 MB / 474.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.0001087/0.6396, allocations: 262.5 kB / 0.6671 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.6397, allocations: 110.2 kB / 0.6672 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.6397, allocations: 104.1 kB / 0.6673 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/0.6398, allocations: 180.2 kB / 0.6675 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-05/0.6399, allocations: 176.3 kB / 0.6676 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.99e-05/0.6399, allocations: 191.2 kB / 0.6678 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.6402, allocations: 401.1 kB / 0.6682 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.6402, allocations: 104.3 kB / 0.6683 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.6403, allocations: 112.9 kB / 0.6684 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.6403, allocations: 176.3 kB / 0.6686 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.6404, allocations: 180.3 kB / 0.6687 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-05/0.6404, allocations: 186 kB / 0.6689 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.6405, allocations: 180.3 kB / 0.6691 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.6406, allocations: 311.1 kB / 0.6694 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.6407, allocations: 185.1 kB / 0.6696 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.6408, allocations: 180.2 kB / 0.6697 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.6409, allocations: 108.9 kB / 0.6698 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.6409, allocations: 184.7 kB / 0.67 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.641, allocations: 105 kB / 0.6701 GB, free: 11.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.641, allocations: 78.66 kB / 0.6702 GB, free: 11.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.641, allocations: 8.094 kB / 0.6702 GB, free: 11.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.6413, allocations: 47.92 kB / 0.6702 GB, free: 11.52 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.0007816/0.6421, allocations: 0.9626 MB / 0.6712 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 3.999e-05/0.6422, allocations: 0 / 0.6712 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6422, allocations: 4 kB / 0.6712 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6422, allocations: 0 / 0.6712 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6426, allocations: 0.5335 MB / 0.6717 GB, free: 10.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.643, allocations: 181.8 kB / 0.6719 GB, free: 9.816 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.6433, allocations: 0.677 MB / 0.6725 GB, free: 9.113 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.488e-06/0.6433, allocations: 4 kB / 0.6725 GB, free: 9.109 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.6433, allocations: 7.438 kB / 0.6726 GB, free: 9.102 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6433, allocations: 0 / 0.6726 GB, free: 9.102 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.6574, allocations: 1.624 MB / 0.6741 GB, free: 7.645 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.6576, allocations: 220.6 kB / 0.6743 GB, free: 7.418 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.092, allocations: 3.938 kB / 0.6744 GB, free: 7.414 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)