Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.0008049/0.0008051, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004671/0.004671, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003176, allocations: 12 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 82.32 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004693/0.1486, allocations: 4.196 MB / 0.5922 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1496, allocations: 0.8071 MB / 0.593 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1497, allocations: 0 / 0.593 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1499, allocations: 23.83 kB / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1501, allocations: 31.77 kB / 0.593 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1506, allocations: 159.5 kB / 0.5932 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1508, allocations: 159.4 kB / 0.5933 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.1508, allocations: 13.12 kB / 0.5933 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.151, allocations: 71.75 kB / 0.5934 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.1511, allocations: 75.72 kB / 0.5935 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1511, allocations: 11.94 kB / 0.5935 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.1515, allocations: 143.8 kB / 0.5936 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.1515, allocations: 27.89 kB / 0.5937 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.1516, allocations: 81.42 kB / 0.5937 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1519, allocations: 227.6 kB / 0.594 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1519, allocations: 0 / 0.594 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1519, allocations: 0 / 0.594 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1519, allocations: 3.938 kB / 0.594 GB, free: 12.48 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007526/0.1527, allocations: 478.9 kB / 0.5944 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1527, allocations: 8.031 kB / 0.5944 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.1528, allocations: 46.69 kB / 0.5945 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1528, allocations: 12.83 kB / 0.5945 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.153, allocations: 184.2 kB / 0.5947 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.153, allocations: 16.06 kB / 0.5947 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.153, allocations: 12 kB / 0.5947 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.1533, allocations: 135.6 kB / 0.5948 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1534, allocations: 0 / 0.5948 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1534, allocations: 3.938 kB / 0.5948 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1534, allocations: 4 kB / 0.5948 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.1539, allocations: 163.9 kB / 0.595 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.1548, allocations: 468.5 kB / 0.5954 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1551, allocations: 134.5 kB / 0.5956 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.1553, allocations: 76.81 kB / 0.5956 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.1566, allocations: 0.9606 MB / 0.5966 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1567, allocations: 42.5 kB / 0.5966 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1567, allocations: 0 / 0.5966 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006799/0.1573, allocations: 241.3 kB / 0.5968 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1574, allocations: 55.41 kB / 0.5969 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1575, allocations: 162.5 kB / 0.597 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1575, allocations: 33.69 kB / 0.5971 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.1576, allocations: 112.4 kB / 0.5972 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1577, allocations: 39.45 kB / 0.5972 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1577, allocations: 33.64 kB / 0.5973 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1578, allocations: 322.8 kB / 0.5976 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.158, allocations: 87.94 kB / 0.5976 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.1583, allocations: 111.4 kB / 0.5978 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.1587, allocations: 199.3 kB / 0.5979 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1588, allocations: 0 / 0.5979 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005801/0.1593, allocations: 267.5 kB / 0.5982 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1594, allocations: 4 kB / 0.5982 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1594, allocations: 0 / 0.5982 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1594, allocations: 8 kB / 0.5982 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1597, allocations: 63.98 kB / 0.5983 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1597, allocations: 4 kB / 0.5983 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1599, allocations: 39.67 kB / 0.5983 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1599, allocations: 15.92 kB / 0.5983 GB, free: 7.621 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.27e-05/0.16, allocations: 125.8 kB / 0.5984 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.16, allocations: 11.84 kB / 0.5985 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.1605, allocations: 205.6 kB / 0.5987 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1605, allocations: 4 kB / 0.5987 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1606, allocations: 0 / 0.5987 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1606, allocations: 0 / 0.5987 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1608, allocations: 213.5 kB / 0.5989 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1608, allocations: 0 / 0.5989 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1609, allocations: 43.84 kB / 0.5989 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.161, allocations: 4 kB / 0.5989 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.161, allocations: 4 kB / 0.5989 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.161, allocations: 0 / 0.5989 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.161, allocations: 0 / 0.5989 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1615, allocations: 279.2 kB / 0.5992 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1615, allocations: 100.9 kB / 0.5993 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1616, allocations: 4 kB / 0.5993 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1617, allocations: 19.98 kB / 0.5993 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1617, allocations: 7.984 kB / 0.5993 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1618, allocations: 8 kB / 0.5993 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.42e-05/0.1618, allocations: 117.8 kB / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1618, allocations: 0 / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003166/0.1622, allocations: 64.31 kB / 0.5995 GB, free: 6.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0008535/0.163, allocations: 0.8683 MB / 0.6003 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.1635, allocations: 188.8 kB / 0.6005 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1636, allocations: 4.188 kB / 0.6005 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1638, allocations: 79.89 kB / 0.6006 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1641, allocations: 19.98 kB / 0.6006 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1666, allocations: 2.046 MB / 0.6026 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.1668, allocations: 0.7125 MB / 0.6033 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.471e-05/0.1669, allocations: 13.08 kB / 0.6033 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.167, allocations: 35.44 kB / 0.6034 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.167, allocations: 0 / 0.6034 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/1.452, allocations: 3.859 MB / 0.6071 GB, free: 49.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.452, allocations: 215.9 kB / 0.6073 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/3.198, allocations: 5.328 kB / 0.6073 GB, free: 48.99 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)