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.001123/0.001123, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001202/0.001202, allocations: 189.3 kB / 16.25 MB, free: 6.145 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7099/0.7099, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.11 kB / 0.5013 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1277, allocations: 80.21 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002778/0.1305, allocations: 2.18 MB / 0.5818 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1318, allocations: 1.018 MB / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.1319, allocations: 0 / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.132, allocations: 19.73 kB / 0.5828 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1323, allocations: 79.39 kB / 0.5829 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1326, allocations: 162.7 kB / 0.5831 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1329, allocations: 294.8 kB / 0.5833 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.133, allocations: 68.92 kB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1331, allocations: 103.5 kB / 0.5835 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1333, allocations: 147.3 kB / 0.5836 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1334, allocations: 20 kB / 0.5837 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1337, allocations: 295.6 kB / 0.5839 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1338, allocations: 51.77 kB / 0.584 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.1339, allocations: 119.3 kB / 0.5841 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1342, allocations: 326.9 kB / 0.5844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1342, allocations: 0 / 0.5844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1342, allocations: 0 / 0.5844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1342, allocations: 0 / 0.5844 GB, free: 4.125 MB / 494.1 MB 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.0009403/0.1351, allocations: 0.6232 MB / 0.585 GB, free: 3.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1352, allocations: 12.03 kB / 0.585 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.1352, allocations: 50.67 kB / 0.5851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1354, allocations: 40.56 kB / 0.5851 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1357, allocations: 275.5 kB / 0.5854 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1357, allocations: 16.66 kB / 0.5854 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1357, allocations: 15.94 kB / 0.5854 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1362, allocations: 224.6 kB / 0.5856 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1362, allocations: 4 kB / 0.5856 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1363, allocations: 8 kB / 0.5856 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1363, allocations: 4 kB / 0.5856 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.1369, allocations: 195.7 kB / 0.5858 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.138, allocations: 0.9422 MB / 0.5868 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.1388, allocations: 241.2 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.1391, allocations: 109.6 kB / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1391, allocations: 4 kB / 0.5871 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1392, allocations: 34.5 kB / 0.5871 GB, free: 1.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.1392, allocations: 0 / 0.5871 GB, free: 1.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001099/0.1403, allocations: 341.3 kB / 0.5874 GB, free: 0.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1403, allocations: 89.09 kB / 0.5875 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.1406, allocations: 267 kB / 0.5878 GB, free: 432 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1406, allocations: 29.7 kB / 0.5878 GB, free: 396 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.1407, allocations: 152.2 kB / 0.588 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1407, allocations: 59.19 kB / 0.588 GB, free: 180 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.1408, allocations: 37.7 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1409, allocations: 338.8 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.1413, allocations: 87.92 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.1416, allocations: 153.9 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1422, allocations: 249.6 kB / 0.5888 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1422, allocations: 0 / 0.5888 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007537/0.143, allocations: 293 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.143, allocations: 4 kB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.143, allocations: 4 kB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.143, allocations: 4 kB / 0.5891 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1433, allocations: 59.89 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1433, allocations: 7.984 kB / 0.5892 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.1436, allocations: 39.94 kB / 0.5892 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1436, allocations: 8 kB / 0.5892 GB, free: 14.85 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.0001016/0.1437, allocations: 137.7 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1438, allocations: 23.72 kB / 0.5894 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.1445, allocations: 287.2 kB / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1446, allocations: 4 kB / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1446, allocations: 0 / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1446, allocations: 3.984 kB / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1449, allocations: 301.2 kB / 0.59 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1449, allocations: 4 kB / 0.59 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1452, allocations: 51.95 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1452, allocations: 4 kB / 0.59 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1452, allocations: 0 / 0.59 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1452, allocations: 0 / 0.59 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1452, allocations: 4 kB / 0.59 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.146, allocations: 456.4 kB / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1461, allocations: 100.8 kB / 0.5906 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1461, allocations: 8 kB / 0.5906 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.1464, allocations: 31.95 kB / 0.5906 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.1464, allocations: 15.98 kB / 0.5906 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1465, allocations: 8 kB / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001521/0.1466, allocations: 190 kB / 0.5908 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1466, allocations: 0 / 0.5908 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003334/0.147, allocations: 56.16 kB / 0.5909 GB, free: 13.1 MB / 0.4981 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.001048/0.148, allocations: 0.9924 MB / 0.5918 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006878/0.1487, allocations: 235.9 kB / 0.5921 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1487, allocations: 4.062 kB / 0.5921 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.149, allocations: 111.9 kB / 0.5922 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1496, allocations: 85.89 kB / 0.5922 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.1532, allocations: 2.777 MB / 0.595 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1534, allocations: 0.7519 MB / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.1536, allocations: 34.27 kB / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1537, allocations: 83.41 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.1537, allocations: 0 / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.824/0.9777, allocations: 6.146 MB / 0.6018 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.978, allocations: 200.7 kB / 0.602 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.861, allocations: 4 kB / 0.602 GB, free: 1.695 MB / 0.4981 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)