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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 171.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.8993/0.8993, allocations: 133.6 MB / 141.6 MB, free: 2.812 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.436/1.436, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0008993/0.0008993, allocations: 96.08 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.663e-05, allocations: 8 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4983, allocations: 82.29 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8701/1.368, allocations: 334.7 MB / 0.9608 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.369, allocations: 87.33 kB / 0.9609 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03337/1.402, allocations: 14.09 MB / 0.9746 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/1.402, allocations: 0 / 0.9746 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.402, allocations: 4 kB / 0.9746 GB, free: 5.957 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.0008165/1.403, allocations: 464 kB / 0.9751 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.403, allocations: 8.031 kB / 0.9751 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/1.403, allocations: 11.91 kB / 0.9751 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.403, allocations: 189 kB / 0.9753 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/1.403, allocations: 0 / 0.9753 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/1.403, allocations: 8 kB / 0.9753 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002055/1.404, allocations: 92.91 kB / 0.9754 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.404, allocations: 75.17 kB / 0.9754 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.404, allocations: 4 kB / 0.9754 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.404, allocations: 4 kB / 0.9755 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.404, allocations: 0 / 0.9755 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.405, allocations: 445.6 kB / 0.9759 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/1.405, allocations: 91.19 kB / 0.976 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/1.405, allocations: 46.17 kB / 0.976 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/1.407, allocations: 0.959 MB / 0.9769 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.407, allocations: 42.02 kB / 0.977 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.624e-06/1.407, allocations: 7.938 kB / 0.977 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004888/1.407, allocations: 130.4 kB / 0.9771 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.407, allocations: 51.41 kB / 0.9772 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.407, allocations: 150.4 kB / 0.9773 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/1.407, allocations: 25.7 kB / 0.9773 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/1.408, allocations: 104.2 kB / 0.9774 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/1.408, allocations: 39.08 kB / 0.9775 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.408, allocations: 0 / 0.9775 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.408, allocations: 330.5 kB / 0.9778 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/1.408, allocations: 38.75 kB / 0.9778 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.408, allocations: 84.14 kB / 0.9779 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/1.408, allocations: 122.1 kB / 0.978 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.408, allocations: 4 kB / 0.978 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006709/1.409, allocations: 244.5 kB / 0.9783 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.409, allocations: 7.984 kB / 0.9783 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.409, allocations: 0 / 0.9783 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.409, allocations: 7.953 kB / 0.9783 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/1.41, allocations: 63.81 kB / 0.9783 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.41, allocations: 4 kB / 0.9783 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/1.41, allocations: 31.81 kB / 0.9784 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/1.41, allocations: 8 kB / 0.9784 GB, free: 2.164 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.0001081/1.41, allocations: 104.9 kB / 0.9785 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003281/1.41, allocations: 138.5 kB / 0.9786 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/1.41, allocations: 19.86 kB / 0.9786 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/1.411, allocations: 154.1 kB / 0.9788 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.411, allocations: 4 kB / 0.9788 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.411, allocations: 0 / 0.9788 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.411, allocations: 0 / 0.9788 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.411, allocations: 184.3 kB / 0.979 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.411, allocations: 0 / 0.979 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/1.411, allocations: 39.92 kB / 0.979 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.411, allocations: 3.984 kB / 0.979 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.411, allocations: 3.938 kB / 0.979 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.411, allocations: 7.953 kB / 0.979 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.411, allocations: 0 / 0.979 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/1.412, allocations: 224.2 kB / 0.9792 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/1.412, allocations: 85.02 kB / 0.9793 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/1.412, allocations: 3.938 kB / 0.9793 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.412, allocations: 23.97 kB / 0.9793 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/1.412, allocations: 11.94 kB / 0.9793 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/1.412, allocations: 4 kB / 0.9793 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.187e-05/1.412, allocations: 108.9 kB / 0.9794 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/1.412, allocations: 3.938 kB / 0.9794 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003308/1.412, allocations: 64.19 kB / 0.9795 GB, free: 1.023 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.000917/1.413, allocations: 0.8305 MB / 0.9803 GB, free: 200 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002343/1.413, allocations: 122.6 kB / 0.9804 GB, free: 112 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.413, allocations: 0 / 0.9804 GB, free: 112 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/1.414, allocations: 35.69 kB / 0.9805 GB, free: 88 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/1.414, allocations: 25.41 kB / 0.9805 GB, free: 68 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/1.414, allocations: 200.6 kB / 0.9807 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.415, allocations: 0.7045 MB / 0.9814 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001088/1.415, allocations: 21.09 kB / 0.9814 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/1.415, allocations: 38.05 kB / 0.9814 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/1.415, allocations: 0 / 0.9814 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/1.442, allocations: 3.631 MB / 0.985 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/1.443, allocations: 150.4 kB / 0.9851 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.314, allocations: 0 / 0.9851 GB, free: 11.29 MB / 0.6198 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/linux/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)