Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.005621/0.005621, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001275/0.001276, allocations: 197.6 kB / 16.68 MB, free: 5.926 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.08 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003136/0.153, allocations: 1.862 MB / 0.661 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1552, allocations: 1.569 MB / 0.6626 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1553, allocations: 4 kB / 0.6626 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1556, allocations: 27.78 kB / 0.6626 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.156, allocations: 71.56 kB / 0.6627 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.1567, allocations: 174.9 kB / 0.6628 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.1572, allocations: 277.4 kB / 0.6631 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1574, allocations: 35.91 kB / 0.6631 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1576, allocations: 83.83 kB / 0.6632 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.1579, allocations: 119.6 kB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.158, allocations: 20 kB / 0.6633 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1583, allocations: 87.95 kB / 0.6634 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1585, allocations: 87.75 kB / 0.6635 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1586, allocations: 119.3 kB / 0.6636 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.1593, allocations: 319.8 kB / 0.6639 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1593, allocations: 0 / 0.6639 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1593, allocations: 0 / 0.6639 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.1593, allocations: 4 kB / 0.6639 GB, free: 5.992 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001152/0.1605, allocations: 0.55 MB / 0.6645 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1606, allocations: 19.97 kB / 0.6645 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.225e-05/0.1606, allocations: 50.73 kB / 0.6645 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.1609, allocations: 32.56 kB / 0.6646 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1612, allocations: 274.7 kB / 0.6648 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1612, allocations: 16.16 kB / 0.6648 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1613, allocations: 23.94 kB / 0.6649 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1616, allocations: 225 kB / 0.6651 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1617, allocations: 4 kB / 0.6651 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1617, allocations: 8 kB / 0.6651 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.1617, allocations: 7.938 kB / 0.6651 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.1625, allocations: 0.7449 MB / 0.6658 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.1635, allocations: 0.6176 MB / 0.6664 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.1639, allocations: 309.9 kB / 0.6667 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1641, allocations: 113.4 kB / 0.6668 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.1641, allocations: 20.23 kB / 0.6668 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.1645, allocations: 180 kB / 0.667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.1645, allocations: 0 / 0.667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006654/0.1652, allocations: 389.2 kB / 0.6674 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.1653, allocations: 140.5 kB / 0.6675 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1656, allocations: 308.9 kB / 0.6678 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1656, allocations: 33.7 kB / 0.6678 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.1657, allocations: 132.7 kB / 0.668 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.1658, allocations: 114.3 kB / 0.6681 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.1659, allocations: 61.69 kB / 0.6681 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.166, allocations: 338.8 kB / 0.6685 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1662, allocations: 79.95 kB / 0.6685 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1664, allocations: 131.4 kB / 0.6687 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1667, allocations: 218.2 kB / 0.6689 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1667, allocations: 0 / 0.6689 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000415/0.1671, allocations: 281 kB / 0.6691 GB, free: 364 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1671, allocations: 8 kB / 0.6692 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1671, allocations: 0 / 0.6692 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1671, allocations: 7.938 kB / 0.6692 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1674, allocations: 67.84 kB / 0.6692 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1674, allocations: 8 kB / 0.6692 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1675, allocations: 27.73 kB / 0.6693 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1676, allocations: 8 kB / 0.6693 GB, free: 236 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001497/0.1677, allocations: 167.9 kB / 0.6694 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.1678, allocations: 23.72 kB / 0.6694 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.1684, allocations: 388.9 kB / 0.6698 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1684, allocations: 7.938 kB / 0.6698 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1685, allocations: 0 / 0.6698 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1685, allocations: 3.938 kB / 0.6698 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1688, allocations: 337.2 kB / 0.6702 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1688, allocations: 8 kB / 0.6702 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.169, allocations: 55.97 kB / 0.6702 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.169, allocations: 4.047 kB / 0.6702 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.169, allocations: 19.86 kB / 0.6702 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.169, allocations: 0 / 0.6702 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.169, allocations: 0 / 0.6702 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.1695, allocations: 329.5 kB / 0.6705 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1696, allocations: 140.7 kB / 0.6707 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.1696, allocations: 11.94 kB / 0.6707 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1698, allocations: 27.97 kB / 0.6707 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1699, allocations: 23.97 kB / 0.6707 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.1699, allocations: 15.98 kB / 0.6708 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001951/0.1701, allocations: 240.4 kB / 0.671 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 0 / 0.671 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003015/0.1704, allocations: 67.94 kB / 0.6711 GB, free: 14.29 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001498/0.1719, allocations: 1.163 MB / 0.6722 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.1723, allocations: 231.6 kB / 0.6724 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1724, allocations: 4 kB / 0.6724 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.1726, allocations: 131.7 kB / 0.6725 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1729, allocations: 48.83 kB / 0.6726 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1757, allocations: 2.511 MB / 0.675 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.176, allocations: 0.7653 MB / 0.6758 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.1763, allocations: 147 kB / 0.6759 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1764, allocations: 99.39 kB / 0.676 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1765, allocations: 0 / 0.676 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.201, allocations: 6.089 MB / 0.682 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.686, allocations: 11.8 kB / 0.682 GB, free: 3.316 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)