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.005525/0.005524, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001316/0.001316, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7075/0.7075, allocations: 132.2 MB / 422.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.72 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002707/0.1218, allocations: 1.872 MB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1236, allocations: 1.569 MB / 0.6626 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.1237, allocations: 8 kB / 0.6626 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1239, allocations: 23.8 kB / 0.6626 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1241, allocations: 71.55 kB / 0.6627 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1245, allocations: 178.9 kB / 0.6628 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1248, allocations: 277.4 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1249, allocations: 33.33 kB / 0.6631 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.125, allocations: 91.81 kB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1252, allocations: 107.7 kB / 0.6633 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1252, allocations: 20 kB / 0.6633 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1253, allocations: 91.89 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.1254, allocations: 79.75 kB / 0.6635 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1255, allocations: 123.3 kB / 0.6636 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.1259, allocations: 318.7 kB / 0.6639 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.126, allocations: 8 kB / 0.6639 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.126, allocations: 0 / 0.6639 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.126, allocations: 0 / 0.6639 GB, free: 5.914 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.000698/0.1267, allocations: 0.5574 MB / 0.6645 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1267, allocations: 12.03 kB / 0.6645 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.1268, allocations: 50.73 kB / 0.6645 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1269, allocations: 40.73 kB / 0.6646 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1272, allocations: 270.8 kB / 0.6648 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1272, allocations: 20.16 kB / 0.6649 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1273, allocations: 23.94 kB / 0.6649 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1276, allocations: 221 kB / 0.6651 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1276, allocations: 0 / 0.6651 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1277, allocations: 11.94 kB / 0.6651 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1277, allocations: 4 kB / 0.6651 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.1284, allocations: 0.7449 MB / 0.6658 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.1294, allocations: 0.6355 MB / 0.6664 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.1299, allocations: 313.9 kB / 0.6667 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1301, allocations: 105.4 kB / 0.6668 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1301, allocations: 24.23 kB / 0.6669 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.1305, allocations: 180 kB / 0.667 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.1305, allocations: 0 / 0.667 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006126/0.1311, allocations: 393.4 kB / 0.6674 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.1312, allocations: 132.5 kB / 0.6675 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1314, allocations: 309 kB / 0.6678 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1315, allocations: 33.7 kB / 0.6679 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.1315, allocations: 132.7 kB / 0.668 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.1316, allocations: 119 kB / 0.6681 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.1317, allocations: 65.69 kB / 0.6682 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1319, allocations: 342.8 kB / 0.6685 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.132, allocations: 79.95 kB / 0.6686 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1322, allocations: 119.4 kB / 0.6687 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.1325, allocations: 214.3 kB / 0.6689 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1325, allocations: 3.984 kB / 0.6689 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000404/0.1329, allocations: 289.1 kB / 0.6692 GB, free: 264 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1329, allocations: 8 kB / 0.6692 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1329, allocations: 3.984 kB / 0.6692 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1329, allocations: 3.938 kB / 0.6692 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1332, allocations: 67.84 kB / 0.6693 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1332, allocations: 4 kB / 0.6693 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1333, allocations: 23.88 kB / 0.6693 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.1334, allocations: 16 kB / 0.6693 GB, free: 136 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.0001455/0.1335, allocations: 171.9 kB / 0.6695 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.1336, allocations: 27.81 kB / 0.6695 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.1342, allocations: 392.8 kB / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1342, allocations: 4 kB / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1342, allocations: 0 / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1342, allocations: 0 / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1345, allocations: 345.3 kB / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1345, allocations: 0 / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1347, allocations: 55.91 kB / 0.6702 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1347, allocations: 4 kB / 0.6703 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1347, allocations: 11.94 kB / 0.6703 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1347, allocations: 0 / 0.6703 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1347, allocations: 3.984 kB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.1352, allocations: 333.6 kB / 0.6706 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1353, allocations: 144.8 kB / 0.6707 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1353, allocations: 15.92 kB / 0.6707 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1355, allocations: 23.98 kB / 0.6708 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1356, allocations: 19.97 kB / 0.6708 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1356, allocations: 15.98 kB / 0.6708 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001838/0.1358, allocations: 244.4 kB / 0.671 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1358, allocations: 0 / 0.671 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002666/0.1361, allocations: 63.94 kB / 0.6711 GB, free: 14.19 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.001364/0.1374, allocations: 1.158 MB / 0.6722 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.1378, allocations: 239.6 kB / 0.6724 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1378, allocations: 7.938 kB / 0.6725 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.138, allocations: 131.7 kB / 0.6726 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1383, allocations: 44.34 kB / 0.6726 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1408, allocations: 2.514 MB / 0.6751 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1411, allocations: 0.7731 MB / 0.6758 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.1414, allocations: 142.9 kB / 0.676 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.1415, allocations: 95.39 kB / 0.6761 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1415, allocations: 0 / 0.6761 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1643, allocations: 5.996 MB / 0.6819 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.132, allocations: 9.953 kB / 0.6819 GB, free: 3.305 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)