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.0007873/0.0007873, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008232/0.0008236, allocations: 173.1 kB / 16.58 MB, free: 6.797 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7375/0.7375, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.000323, allocations: 8 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1543, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001287/0.1557, allocations: 0.9472 MB / 0.5578 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1571, allocations: 0.951 MB / 0.5588 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1571, allocations: 0 / 0.5588 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.1572, allocations: 4 kB / 0.5588 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.1576, allocations: 79.8 kB / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.09e-06/0.1576, allocations: 0 / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.1576, allocations: 7.938 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.1577, allocations: 0 / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.1577, allocations: 0 / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1578, allocations: 7.984 kB / 0.5589 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.1578, allocations: 0 / 0.5589 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.158, allocations: 99.86 kB / 0.559 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-06/0.158, allocations: 0 / 0.559 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.1581, allocations: 29.64 kB / 0.559 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1582, allocations: 79.91 kB / 0.5591 GB, free: 9.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1583, allocations: 3.938 kB / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1583, allocations: 0 / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1583, allocations: 0 / 0.5591 GB, free: 9.438 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.0003348/0.1586, allocations: 339.4 kB / 0.5594 GB, free: 9.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1587, allocations: 12.03 kB / 0.5594 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.1587, allocations: 109.8 kB / 0.5595 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.1588, allocations: 75.28 kB / 0.5596 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.159, allocations: 238.6 kB / 0.5598 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.159, allocations: 150.6 kB / 0.5599 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.1591, allocations: 154.6 kB / 0.5601 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.135e-05/0.1592, allocations: 112.9 kB / 0.5602 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.1592, allocations: 79.22 kB / 0.5603 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.1592, allocations: 150.6 kB / 0.5604 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.1593, allocations: 154.6 kB / 0.5606 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.1594, allocations: 150.6 kB / 0.5607 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.1596, allocations: 453.9 kB / 0.5611 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.1597, allocations: 165.1 kB / 0.5613 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.1598, allocations: 88.08 kB / 0.5614 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1598, allocations: 75.28 kB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.1599, allocations: 105.8 kB / 0.5616 GB, free: 6.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1599, allocations: 3.938 kB / 0.5616 GB, free: 6.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.599e-05/0.1599, allocations: 33.66 kB / 0.5616 GB, free: 6.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.16, allocations: 126.7 kB / 0.5617 GB, free: 6.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.1601, allocations: 105.8 kB / 0.5618 GB, free: 6.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1601, allocations: 25.7 kB / 0.5618 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1601, allocations: 80.14 kB / 0.5619 GB, free: 6.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1602, allocations: 0 / 0.5619 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.1602, allocations: 0 / 0.5619 GB, free: 6.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1603, allocations: 310.8 kB / 0.5622 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.1603, allocations: 3.938 kB / 0.5622 GB, free: 5.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-06/0.1603, allocations: 0 / 0.5622 GB, free: 5.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.1603, allocations: 79.41 kB / 0.5623 GB, free: 5.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/0.1604, allocations: 75.28 kB / 0.5624 GB, free: 5.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.882e-05/0.1604, allocations: 29.7 kB / 0.5624 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.1605, allocations: 84.98 kB / 0.5625 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.1605, allocations: 83.28 kB / 0.5625 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.045e-05/0.1606, allocations: 158.5 kB / 0.5627 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-05/0.1606, allocations: 75.28 kB / 0.5628 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/0.1606, allocations: 158.5 kB / 0.5629 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.1607, allocations: 79.28 kB / 0.563 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1608, allocations: 79.33 kB / 0.5631 GB, free: 5.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.1609, allocations: 264.3 kB / 0.5633 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.1609, allocations: 109 kB / 0.5634 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.161, allocations: 108.1 kB / 0.5635 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/0.161, allocations: 184.2 kB / 0.5637 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-05/0.1611, allocations: 180.2 kB / 0.5639 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.88e-05/0.1612, allocations: 180.2 kB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1614, allocations: 409.2 kB / 0.5644 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.1614, allocations: 101 kB / 0.5645 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.1615, allocations: 108.9 kB / 0.5646 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.253e-05/0.1616, allocations: 188.2 kB / 0.5648 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.1616, allocations: 180.2 kB / 0.565 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-05/0.1617, allocations: 176.3 kB / 0.5652 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.005e-05/0.1617, allocations: 180.3 kB / 0.5653 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1619, allocations: 315.6 kB / 0.5656 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.162, allocations: 190 kB / 0.5658 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.162, allocations: 184.2 kB / 0.566 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.1621, allocations: 104.9 kB / 0.5661 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1622, allocations: 184.2 kB / 0.5663 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.1622, allocations: 109 kB / 0.5664 GB, free: 1.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.1623, allocations: 79.23 kB / 0.5664 GB, free: 1.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1623, allocations: 0 / 0.5664 GB, free: 1.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1626, allocations: 43.98 kB / 0.5665 GB, free: 1.348 MB / 430.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 (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.0006996/0.1633, allocations: 0.941 MB / 0.5674 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 3.212e-05/0.1633, allocations: 4 kB / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1633, allocations: 0 / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1633, allocations: 0 / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1637, allocations: 0.5302 MB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.1643, allocations: 0.523 MB / 0.5684 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1646, allocations: 0.6731 MB / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.396e-06/0.1646, allocations: 0 / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1646, allocations: 7.438 kB / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1646, allocations: 4.094 kB / 0.5691 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1776, allocations: 1.654 MB / 0.5707 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.1779, allocations: 255.3 kB / 0.571 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.798, allocations: 3.875 kB / 0.571 GB, free: 12.81 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/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) Environment - environmentSimulation: