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.004883/0.004883, allocations: 101.2 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.001171/0.001171, allocations: 197.4 kB / 16.67 MB, free: 5.961 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.28 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 80.92 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003258/0.1344, allocations: 1.867 MB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1367, allocations: 1.565 MB / 0.6675 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1368, allocations: 4 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.1371, allocations: 31.77 kB / 0.6676 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1374, allocations: 75.56 kB / 0.6676 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.1379, allocations: 169.9 kB / 0.6678 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1382, allocations: 277.4 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1383, allocations: 35.91 kB / 0.6681 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1385, allocations: 91.81 kB / 0.6682 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1387, allocations: 111.6 kB / 0.6683 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1387, allocations: 20 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1389, allocations: 83.91 kB / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.139, allocations: 95.72 kB / 0.6685 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1391, allocations: 115.3 kB / 0.6686 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.1395, allocations: 319.8 kB / 0.6689 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1395, allocations: 0 / 0.6689 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1395, allocations: 0 / 0.6689 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.1396, allocations: 4 kB / 0.6689 GB, free: 1.414 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.0008349/0.1404, allocations: 0.5578 MB / 0.6694 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1405, allocations: 13.11 kB / 0.6694 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.1405, allocations: 50.73 kB / 0.6695 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1407, allocations: 32.56 kB / 0.6695 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.141, allocations: 274.7 kB / 0.6698 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.141, allocations: 16.16 kB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.141, allocations: 23.94 kB / 0.6698 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1414, allocations: 236.7 kB / 0.6701 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1414, allocations: 4 kB / 0.6701 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1415, allocations: 8 kB / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1415, allocations: 4 kB / 0.6701 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.1423, allocations: 0.7449 MB / 0.6708 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1434, allocations: 0.6293 MB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.1438, allocations: 299.3 kB / 0.6717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.144, allocations: 109.4 kB / 0.6718 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1441, allocations: 16.25 kB / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.1444, allocations: 191.8 kB / 0.672 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.1444, allocations: 4 kB / 0.672 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006571/0.1451, allocations: 376.9 kB / 0.6724 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.1452, allocations: 136.5 kB / 0.6725 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1455, allocations: 312.8 kB / 0.6728 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1455, allocations: 29.7 kB / 0.6728 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.1456, allocations: 132.7 kB / 0.6729 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.1457, allocations: 122.3 kB / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.1458, allocations: 61.69 kB / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1459, allocations: 342.8 kB / 0.6734 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1461, allocations: 79.95 kB / 0.6735 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1462, allocations: 128.5 kB / 0.6736 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1466, allocations: 217.1 kB / 0.6739 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1466, allocations: 0 / 0.6739 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004177/0.147, allocations: 280.9 kB / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.147, allocations: 8 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.147, allocations: 0 / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1471, allocations: 11.88 kB / 0.6741 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1473, allocations: 71.83 kB / 0.6742 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1473, allocations: 4 kB / 0.6742 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1474, allocations: 19.84 kB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1475, allocations: 11.98 kB / 0.6742 GB, free: 11.65 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.0001489/0.1476, allocations: 161.8 kB / 0.6744 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1477, allocations: 27.62 kB / 0.6744 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.1484, allocations: 388.6 kB / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1484, allocations: 4 kB / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1484, allocations: 0 / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1484, allocations: 7.984 kB / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1487, allocations: 337.3 kB / 0.6751 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1487, allocations: 4 kB / 0.6751 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1489, allocations: 59.91 kB / 0.6752 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1489, allocations: 0 / 0.6752 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.149, allocations: 19.92 kB / 0.6752 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.149, allocations: 0 / 0.6752 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.149, allocations: 0 / 0.6752 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.1494, allocations: 330.1 kB / 0.6755 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1496, allocations: 144.7 kB / 0.6757 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1496, allocations: 11.94 kB / 0.6757 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1498, allocations: 19.97 kB / 0.6757 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1499, allocations: 27.97 kB / 0.6757 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1499, allocations: 11.98 kB / 0.6757 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001987/0.1501, allocations: 236.5 kB / 0.676 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1501, allocations: 0 / 0.676 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000297/0.1504, allocations: 71.92 kB / 0.676 GB, free: 9.715 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.001478/0.1519, allocations: 1.162 MB / 0.6772 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.1523, allocations: 235.6 kB / 0.6774 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1523, allocations: 0 / 0.6774 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1525, allocations: 136.6 kB / 0.6775 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1528, allocations: 48.95 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.1555, allocations: 2.51 MB / 0.68 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1558, allocations: 0.7653 MB / 0.6808 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.1561, allocations: 139 kB / 0.6809 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1563, allocations: 103.4 kB / 0.681 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1563, allocations: 0 / 0.681 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1793, allocations: 6.081 MB / 0.6869 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.07, allocations: 11.75 kB / 0.6869 GB, free: 14.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)