Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 173.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9869/0.9869, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.0009428, allocations: 99.66 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.505e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5111, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7919/1.303, allocations: 334.7 MB / 0.9608 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.303, allocations: 91.31 kB / 0.9609 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0324/1.336, allocations: 14.09 MB / 0.9746 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/1.336, allocations: 0 / 0.9746 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.336, allocations: 8 kB / 0.9746 GB, free: 5.902 MB / 0.6042 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.0007791/1.337, allocations: 461.5 kB / 0.9751 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.337, allocations: 12.03 kB / 0.9751 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/1.337, allocations: 7.906 kB / 0.9751 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/1.337, allocations: 186.4 kB / 0.9753 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.337, allocations: 0 / 0.9753 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.337, allocations: 8 kB / 0.9753 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000198/1.337, allocations: 90.03 kB / 0.9754 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/1.337, allocations: 82.73 kB / 0.9755 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.337, allocations: 0 / 0.9755 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.337, allocations: 0 / 0.9755 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.337, allocations: 4 kB / 0.9755 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/1.338, allocations: 445.4 kB / 0.9759 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/1.339, allocations: 91.62 kB / 0.976 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/1.339, allocations: 43.48 kB / 0.976 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.34, allocations: 0.9662 MB / 0.977 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.34, allocations: 38.52 kB / 0.977 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.046e-06/1.34, allocations: 3.984 kB / 0.977 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004404/1.34, allocations: 134.2 kB / 0.9771 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/1.341, allocations: 51.41 kB / 0.9772 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.341, allocations: 150.6 kB / 0.9773 GB, free: 3.109 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.341, allocations: 25.7 kB / 0.9773 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/1.341, allocations: 103.6 kB / 0.9774 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/1.341, allocations: 39.08 kB / 0.9775 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/1.341, allocations: 0 / 0.9775 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.341, allocations: 326 kB / 0.9778 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/1.341, allocations: 50.38 kB / 0.9778 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.341, allocations: 78.45 kB / 0.9779 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/1.342, allocations: 124.5 kB / 0.978 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.342, allocations: 0 / 0.978 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006753/1.342, allocations: 249 kB / 0.9783 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.342, allocations: 4 kB / 0.9783 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.342, allocations: 0 / 0.9783 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.342, allocations: 11.89 kB / 0.9783 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/1.343, allocations: 59.84 kB / 0.9783 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.343, allocations: 7.984 kB / 0.9783 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.343, allocations: 31.92 kB / 0.9784 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.343, allocations: 4 kB / 0.9784 GB, free: 2.113 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.343, allocations: 112.8 kB / 0.9785 GB, free: 2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003369/1.343, allocations: 130.8 kB / 0.9786 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/1.343, allocations: 11.86 kB / 0.9786 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/1.344, allocations: 152.1 kB / 0.9788 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.344, allocations: 4 kB / 0.9788 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.344, allocations: 0 / 0.9788 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.344, allocations: 0 / 0.9788 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/1.344, allocations: 188.8 kB / 0.979 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.344, allocations: 4 kB / 0.979 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/1.344, allocations: 39.84 kB / 0.979 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.344, allocations: 4 kB / 0.979 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.344, allocations: 4 kB / 0.979 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.344, allocations: 3.953 kB / 0.979 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.344, allocations: 0 / 0.979 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/1.345, allocations: 225.1 kB / 0.9792 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/1.345, allocations: 85.02 kB / 0.9793 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/1.345, allocations: 7.922 kB / 0.9793 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.345, allocations: 19.98 kB / 0.9793 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/1.345, allocations: 15.94 kB / 0.9793 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/1.345, allocations: 3.75 kB / 0.9793 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.689e-05/1.345, allocations: 109.2 kB / 0.9795 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/1.345, allocations: 4 kB / 0.9795 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000343/1.345, allocations: 59.44 kB / 0.9795 GB, free: 0.9766 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009187/1.346, allocations: 0.8314 MB / 0.9803 GB, free: 152 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002541/1.347, allocations: 116.2 kB / 0.9804 GB, free: 68 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.347, allocations: 0 / 0.9804 GB, free: 68 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/1.347, allocations: 42.94 kB / 0.9805 GB, free: 40 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/1.347, allocations: 24.06 kB / 0.9805 GB, free: 20 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/1.348, allocations: 201.5 kB / 0.9807 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.348, allocations: 0.7123 MB / 0.9814 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.348, allocations: 17.2 kB / 0.9814 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/1.348, allocations: 34 kB / 0.9814 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/1.348, allocations: 0 / 0.9814 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/1.371, allocations: 3.625 MB / 0.985 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.371, allocations: 149.5 kB / 0.9851 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/3.072, allocations: 3 kB / 0.9851 GB, free: 11.24 MB / 0.6198 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)