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.004632/0.004632, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001309/0.001309, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8525/0.8525, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 61.66 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00318/0.1322, allocations: 1.856 MB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1345, allocations: 1.577 MB / 0.6626 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.1345, allocations: 0 / 0.6626 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1347, allocations: 31.78 kB / 0.6626 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.135, allocations: 75.55 kB / 0.6627 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.1355, allocations: 179.3 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.1358, allocations: 277.4 kB / 0.6631 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.136, allocations: 33.34 kB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1361, allocations: 91.81 kB / 0.6632 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1363, allocations: 107.7 kB / 0.6633 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1364, allocations: 20 kB / 0.6633 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1366, allocations: 87.91 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1367, allocations: 87.73 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1368, allocations: 115.3 kB / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.1373, allocations: 322.7 kB / 0.6639 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1373, allocations: 0 / 0.6639 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1373, allocations: 0 / 0.6639 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1373, allocations: 4 kB / 0.6639 GB, free: 5.891 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.00083/0.1381, allocations: 0.5652 MB / 0.6645 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1382, allocations: 8.031 kB / 0.6645 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.808e-05/0.1382, allocations: 58.67 kB / 0.6645 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1384, allocations: 32.75 kB / 0.6646 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1387, allocations: 270.9 kB / 0.6648 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1387, allocations: 16.16 kB / 0.6648 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1388, allocations: 19.94 kB / 0.6649 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1392, allocations: 229 kB / 0.6651 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1392, allocations: 0 / 0.6651 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1392, allocations: 12 kB / 0.6651 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1393, allocations: 7.938 kB / 0.6651 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1403, allocations: 0.7487 MB / 0.6658 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1414, allocations: 0.6293 MB / 0.6664 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.1419, allocations: 309.9 kB / 0.6667 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1421, allocations: 105.4 kB / 0.6668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.1422, allocations: 28.23 kB / 0.6669 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.1425, allocations: 180 kB / 0.667 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.1426, allocations: 4 kB / 0.667 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0007351/0.1433, allocations: 385.4 kB / 0.6674 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.1434, allocations: 132.5 kB / 0.6675 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1437, allocations: 309 kB / 0.6678 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1438, allocations: 33.7 kB / 0.6679 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1439, allocations: 128.7 kB / 0.668 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.144, allocations: 123 kB / 0.6681 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1441, allocations: 69.69 kB / 0.6682 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1443, allocations: 338.8 kB / 0.6685 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1445, allocations: 79.95 kB / 0.6686 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1447, allocations: 123.4 kB / 0.6687 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1451, allocations: 218.2 kB / 0.6689 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1451, allocations: 0 / 0.6689 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004901/0.1456, allocations: 293.2 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1456, allocations: 8 kB / 0.6692 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1456, allocations: 3.984 kB / 0.6692 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1456, allocations: 3.938 kB / 0.6692 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1459, allocations: 63.91 kB / 0.6693 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1459, allocations: 3.938 kB / 0.6693 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.146, allocations: 23.88 kB / 0.6693 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1461, allocations: 12 kB / 0.6693 GB, free: 108 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.0001826/0.1463, allocations: 164 kB / 0.6694 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.1463, allocations: 31.81 kB / 0.6695 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.1471, allocations: 392.8 kB / 0.6699 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1471, allocations: 8 kB / 0.6699 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1471, allocations: 3.984 kB / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1471, allocations: 0 / 0.6699 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.1475, allocations: 345.3 kB / 0.6702 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1475, allocations: 3.938 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1477, allocations: 47.98 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1477, allocations: 7.984 kB / 0.6703 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1477, allocations: 15.94 kB / 0.6703 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1477, allocations: 0 / 0.6703 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1477, allocations: 3.938 kB / 0.6703 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.1483, allocations: 329.7 kB / 0.6706 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.1484, allocations: 144.7 kB / 0.6707 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.1485, allocations: 15.94 kB / 0.6707 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1487, allocations: 23.97 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.1488, allocations: 19.97 kB / 0.6708 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.1488, allocations: 15.98 kB / 0.6708 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000234/0.149, allocations: 236.5 kB / 0.671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1491, allocations: 4 kB / 0.671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002976/0.1494, allocations: 67.92 kB / 0.6711 GB, free: 14.16 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.002182/0.1515, allocations: 1.153 MB / 0.6722 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.152, allocations: 243.6 kB / 0.6724 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.152, allocations: 0 / 0.6724 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1522, allocations: 131.8 kB / 0.6726 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1525, allocations: 54.41 kB / 0.6726 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.1557, allocations: 2.515 MB / 0.6751 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1561, allocations: 0.7731 MB / 0.6758 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.1565, allocations: 138.9 kB / 0.676 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1566, allocations: 95.39 kB / 0.6761 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1566, allocations: 0 / 0.6761 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.1883, allocations: 5.994 MB / 0.6819 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.259, allocations: 9.953 kB / 0.6819 GB, free: 3.273 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)