Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00532/0.00532, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001478/0.001479, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.798/0.798, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.28 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1366, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003169/0.1398, allocations: 2.12 MB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1415, allocations: 1.041 MB / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1416, allocations: 7.938 kB / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.416e-05/0.1417, allocations: 23.67 kB / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.142, allocations: 87.22 kB / 0.6624 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1424, allocations: 187.5 kB / 0.6626 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1428, allocations: 294.8 kB / 0.6629 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1429, allocations: 64.8 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1431, allocations: 115.5 kB / 0.663 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1433, allocations: 139.4 kB / 0.6632 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.1433, allocations: 20 kB / 0.6632 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.1438, allocations: 299.6 kB / 0.6635 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.1438, allocations: 51.72 kB / 0.6635 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.144, allocations: 119.3 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.1444, allocations: 330.5 kB / 0.664 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1444, allocations: 4 kB / 0.664 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1444, allocations: 0 / 0.664 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1444, allocations: 0 / 0.664 GB, free: 5.848 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00108/0.1455, allocations: 0.6307 MB / 0.6646 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1455, allocations: 8.031 kB / 0.6646 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.1456, allocations: 46.73 kB / 0.6646 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.1458, allocations: 44.69 kB / 0.6647 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1462, allocations: 295.7 kB / 0.6649 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1462, allocations: 12.41 kB / 0.665 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1462, allocations: 16 kB / 0.665 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.1468, allocations: 228.6 kB / 0.6652 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1468, allocations: 0 / 0.6652 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1468, allocations: 4 kB / 0.6652 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1468, allocations: 4 kB / 0.6652 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.1475, allocations: 203.7 kB / 0.6654 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.1487, allocations: 0.9386 MB / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.1495, allocations: 237.2 kB / 0.6665 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.1498, allocations: 109.6 kB / 0.6666 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1499, allocations: 4.312 kB / 0.6666 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1499, allocations: 38.5 kB / 0.6667 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1499, allocations: 0 / 0.6667 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001208/0.1511, allocations: 341.2 kB / 0.667 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1512, allocations: 81.11 kB / 0.6671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.1514, allocations: 267 kB / 0.6673 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1515, allocations: 29.7 kB / 0.6674 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1516, allocations: 164.3 kB / 0.6675 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1516, allocations: 51.53 kB / 0.6676 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.1517, allocations: 41.7 kB / 0.6676 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1519, allocations: 338.8 kB / 0.6679 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.1522, allocations: 95.91 kB / 0.668 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1526, allocations: 141.9 kB / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.1533, allocations: 237.7 kB / 0.6684 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1533, allocations: 4 kB / 0.6684 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008711/0.1542, allocations: 297.1 kB / 0.6687 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1542, allocations: 8 kB / 0.6687 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1542, allocations: 0 / 0.6687 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1543, allocations: 4 kB / 0.6687 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.1546, allocations: 67.88 kB / 0.6688 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1546, allocations: 0 / 0.6688 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1548, allocations: 43.98 kB / 0.6688 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1548, allocations: 7.984 kB / 0.6688 GB, free: 0.5547 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000125/0.155, allocations: 137.7 kB / 0.6689 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1551, allocations: 27.81 kB / 0.669 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008779/0.156, allocations: 291.1 kB / 0.6692 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.156, allocations: 0 / 0.6692 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.156, allocations: 4 kB / 0.6692 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.156, allocations: 0 / 0.6692 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1564, allocations: 293.3 kB / 0.6695 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1564, allocations: 0 / 0.6695 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.1567, allocations: 59.95 kB / 0.6696 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1567, allocations: 7.969 kB / 0.6696 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1567, allocations: 0 / 0.6696 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1567, allocations: 4 kB / 0.6696 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1567, allocations: 0 / 0.6696 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.1576, allocations: 446.3 kB / 0.67 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.1577, allocations: 108.8 kB / 0.6701 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1578, allocations: 12 kB / 0.6701 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.158, allocations: 23.97 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.1581, allocations: 24.25 kB / 0.6702 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1581, allocations: 4 kB / 0.6702 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001872/0.1583, allocations: 190 kB / 0.6704 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1583, allocations: 3.938 kB / 0.6704 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003439/0.1587, allocations: 59.89 kB / 0.6704 GB, free: 14.79 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.00129/0.16, allocations: 0.9906 MB / 0.6714 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.1608, allocations: 228.5 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1608, allocations: 320 / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.1612, allocations: 119.8 kB / 0.6717 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1617, allocations: 77.48 kB / 0.6718 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.1659, allocations: 2.698 MB / 0.6744 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1663, allocations: 0.7519 MB / 0.6752 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.1664, allocations: 26.3 kB / 0.6752 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1666, allocations: 83.41 kB / 0.6753 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1666, allocations: 4 kB / 0.6753 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4306/0.5971, allocations: 6.553 MB / 0.6817 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.99, allocations: 10.5 kB / 0.6817 GB, free: 3.293 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)