Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_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.00473/0.00473, allocations: 97 kB / 15.73 MB, free: 5.949 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.00107/0.00107, allocations: 192.8 kB / 16.67 MB, free: 5.871 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7952/0.7952, allocations: 135.2 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.06 kB / 0.5852 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 80.91 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002991/0.1344, allocations: 1.863 MB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1365, allocations: 1.577 MB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1366, allocations: 4 kB / 0.6675 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1368, allocations: 23.8 kB / 0.6676 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1371, allocations: 79.53 kB / 0.6676 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1375, allocations: 167 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.1378, allocations: 277.4 kB / 0.6681 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.138, allocations: 37.33 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1381, allocations: 95.75 kB / 0.6682 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1383, allocations: 103.7 kB / 0.6683 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.1383, allocations: 20 kB / 0.6683 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1385, allocations: 87.95 kB / 0.6684 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.1386, allocations: 87.73 kB / 0.6685 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1387, allocations: 119.3 kB / 0.6686 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1391, allocations: 322.6 kB / 0.6689 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1391, allocations: 4 kB / 0.6689 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1391, allocations: 0 / 0.6689 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.1392, allocations: 0 / 0.6689 GB, free: 1.422 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.000754/0.1399, allocations: 0.5651 MB / 0.6694 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.14, allocations: 9.109 kB / 0.6695 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.14, allocations: 50.73 kB / 0.6695 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1402, allocations: 36.73 kB / 0.6695 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1405, allocations: 274.9 kB / 0.6698 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1405, allocations: 16.16 kB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1405, allocations: 23.94 kB / 0.6698 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1409, allocations: 236.7 kB / 0.6701 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1409, allocations: 0 / 0.6701 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.141, allocations: 4 kB / 0.6701 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.141, allocations: 7.984 kB / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.1418, allocations: 0.7488 MB / 0.6708 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1429, allocations: 0.6332 MB / 0.6714 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.1434, allocations: 303.3 kB / 0.6717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1436, allocations: 109.4 kB / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.1436, allocations: 20.25 kB / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.144, allocations: 195.8 kB / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.144, allocations: 0 / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006721/0.1446, allocations: 377 kB / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.1447, allocations: 132.5 kB / 0.6725 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.145, allocations: 309 kB / 0.6728 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1451, allocations: 37.69 kB / 0.6728 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.1452, allocations: 132.7 kB / 0.673 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.1453, allocations: 115 kB / 0.6731 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.1454, allocations: 73.67 kB / 0.6731 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1455, allocations: 338.8 kB / 0.6735 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1456, allocations: 79.95 kB / 0.6735 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1458, allocations: 128.5 kB / 0.6737 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1462, allocations: 217.1 kB / 0.6739 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1462, allocations: 0 / 0.6739 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004502/0.1467, allocations: 289 kB / 0.6742 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1467, allocations: 4 kB / 0.6742 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1467, allocations: 0 / 0.6742 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1467, allocations: 7.938 kB / 0.6742 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.147, allocations: 67.84 kB / 0.6742 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.147, allocations: 0 / 0.6742 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1471, allocations: 23.88 kB / 0.6743 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1472, allocations: 19.92 kB / 0.6743 GB, free: 11.64 MB / 0.5137 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.0001592/0.1473, allocations: 161.8 kB / 0.6744 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.1474, allocations: 35.81 kB / 0.6745 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.1481, allocations: 388.6 kB / 0.6748 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1481, allocations: 4 kB / 0.6748 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1481, allocations: 0 / 0.6748 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1481, allocations: 3.984 kB / 0.6748 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.1484, allocations: 341.3 kB / 0.6752 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1485, allocations: 0 / 0.6752 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1486, allocations: 59.91 kB / 0.6752 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1487, allocations: 0 / 0.6752 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1487, allocations: 15.92 kB / 0.6752 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1487, allocations: 8 kB / 0.6752 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1487, allocations: 0 / 0.6752 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.1492, allocations: 322.3 kB / 0.6755 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1494, allocations: 152.8 kB / 0.6757 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.1494, allocations: 7.938 kB / 0.6757 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1496, allocations: 23.98 kB / 0.6757 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1497, allocations: 23.95 kB / 0.6757 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1497, allocations: 16 kB / 0.6758 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002137/0.1499, allocations: 240.4 kB / 0.676 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1499, allocations: 0 / 0.676 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003168/0.1503, allocations: 63.94 kB / 0.6761 GB, free: 9.695 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.001562/0.1518, allocations: 1.16 MB / 0.6772 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.1523, allocations: 235.6 kB / 0.6774 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1523, allocations: 8 kB / 0.6774 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.1525, allocations: 136.6 kB / 0.6775 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1528, allocations: 43.53 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1556, allocations: 2.518 MB / 0.68 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.156, allocations: 0.7653 MB / 0.6808 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.1563, allocations: 150.8 kB / 0.6809 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1565, allocations: 99.39 kB / 0.681 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1565, allocations: 0 / 0.681 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.1807, allocations: 5.994 MB / 0.6869 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.732, allocations: 7.812 kB / 0.6869 GB, free: 14.73 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)