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.00528/0.00528, allocations: 95.64 kB / 15.73 MB, free: 6.047 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.001456/0.001456, allocations: 206.2 kB / 16.68 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7563/0.7563, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 75.72 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1365, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003042/0.1395, allocations: 1.859 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1417, allocations: 1.573 MB / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1418, allocations: 0 / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.142, allocations: 27.78 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1422, allocations: 79.55 kB / 0.6627 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.1426, allocations: 170.3 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.143, allocations: 277.4 kB / 0.6631 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1431, allocations: 33.31 kB / 0.6631 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1432, allocations: 95.75 kB / 0.6632 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1434, allocations: 115.6 kB / 0.6633 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.1435, allocations: 20 kB / 0.6634 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1436, allocations: 83.97 kB / 0.6634 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.1438, allocations: 83.73 kB / 0.6635 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1439, allocations: 119.3 kB / 0.6636 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.1443, allocations: 318.7 kB / 0.6639 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1443, allocations: 4 kB / 0.6639 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1443, allocations: 0 / 0.6639 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1443, allocations: 0 / 0.6639 GB, free: 9.148 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.000796/0.1451, allocations: 0.5613 MB / 0.6645 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1452, allocations: 12.03 kB / 0.6645 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.1452, allocations: 62.66 kB / 0.6646 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1454, allocations: 32.75 kB / 0.6646 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1457, allocations: 270.9 kB / 0.6648 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1457, allocations: 16.16 kB / 0.6649 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1457, allocations: 23.92 kB / 0.6649 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1461, allocations: 232.9 kB / 0.6651 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1461, allocations: 0 / 0.6651 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1462, allocations: 12 kB / 0.6651 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1462, allocations: 4 kB / 0.6651 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009121/0.1471, allocations: 0.7449 MB / 0.6658 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1481, allocations: 0.6293 MB / 0.6665 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.1487, allocations: 309.9 kB / 0.6668 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1489, allocations: 105.4 kB / 0.6669 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.1489, allocations: 20.25 kB / 0.6669 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.1492, allocations: 191.3 kB / 0.6671 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1493, allocations: 0 / 0.6671 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006632/0.1499, allocations: 381.9 kB / 0.6674 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.15, allocations: 136.5 kB / 0.6676 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1503, allocations: 309 kB / 0.6678 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1504, allocations: 33.7 kB / 0.6679 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1505, allocations: 128.7 kB / 0.668 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.1506, allocations: 123 kB / 0.6681 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.1507, allocations: 65.69 kB / 0.6682 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1509, allocations: 338.8 kB / 0.6685 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1511, allocations: 83.95 kB / 0.6686 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1513, allocations: 125.1 kB / 0.6687 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1516, allocations: 218.3 kB / 0.6689 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1516, allocations: 0 / 0.6689 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004377/0.1521, allocations: 289.1 kB / 0.6692 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1521, allocations: 8 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1521, allocations: 0 / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1521, allocations: 3.938 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1523, allocations: 63.91 kB / 0.6693 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1524, allocations: 4 kB / 0.6693 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1525, allocations: 23.88 kB / 0.6693 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1525, allocations: 19.92 kB / 0.6693 GB, free: 3.359 MB / 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.0001505/0.1527, allocations: 163.7 kB / 0.6695 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.1528, allocations: 31.81 kB / 0.6695 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.1535, allocations: 396.8 kB / 0.6699 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1535, allocations: 4 kB / 0.6699 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1535, allocations: 0 / 0.6699 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1535, allocations: 3.984 kB / 0.6699 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.1539, allocations: 345.3 kB / 0.6702 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1539, allocations: 0 / 0.6702 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1541, allocations: 55.91 kB / 0.6703 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1541, allocations: 4 kB / 0.6703 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1541, allocations: 19.92 kB / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1541, allocations: 0 / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1541, allocations: 0 / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.1546, allocations: 321.7 kB / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1548, allocations: 148.8 kB / 0.6707 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.1548, allocations: 15.94 kB / 0.6707 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.155, allocations: 19.98 kB / 0.6708 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.1551, allocations: 23.95 kB / 0.6708 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.1551, allocations: 12 kB / 0.6708 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002163/0.1553, allocations: 240.4 kB / 0.671 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 0.671 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.1556, allocations: 63.94 kB / 0.6711 GB, free: 1.426 MB / 0.4981 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.002003/0.1576, allocations: 1.169 MB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.158, allocations: 239.6 kB / 0.6725 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.158, allocations: 0 / 0.6725 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1582, allocations: 135.7 kB / 0.6726 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1585, allocations: 41.36 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1615, allocations: 2.511 MB / 0.6751 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1619, allocations: 0.766 MB / 0.6758 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003093/0.1622, allocations: 146.8 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1623, allocations: 95.39 kB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1623, allocations: 4 kB / 0.6761 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6064/0.7688, allocations: 5.993 MB / 0.6819 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/9.134, allocations: 11.02 kB / 0.6819 GB, free: 6.57 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)