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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005722/0.005722, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001273/0.001273, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7661/0.7661, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4214, allocations: 80.2 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005193/0.4266, allocations: 4.556 MB / 0.6636 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.4276, allocations: 0.8178 MB / 0.6644 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.4277, allocations: 1.25 kB / 0.6644 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.4279, allocations: 37.25 kB / 0.6645 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.4279, allocations: 35.06 kB / 0.6645 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.4284, allocations: 165.9 kB / 0.6647 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.4286, allocations: 178.8 kB / 0.6648 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.4287, allocations: 18.91 kB / 0.6649 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.4288, allocations: 76.19 kB / 0.6649 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.4289, allocations: 80.23 kB / 0.665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.429, allocations: 13.19 kB / 0.665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.4293, allocations: 157.5 kB / 0.6652 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.4293, allocations: 31.97 kB / 0.6652 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.4294, allocations: 72.34 kB / 0.6653 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.4297, allocations: 241.8 kB / 0.6655 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4297, allocations: 1.312 kB / 0.6655 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4297, allocations: 0 / 0.6655 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4297, allocations: 0 / 0.6655 GB, free: 5.305 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.0007845/0.4305, allocations: 479.9 kB / 0.666 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4306, allocations: 10.44 kB / 0.666 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.4306, allocations: 36.06 kB / 0.666 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4306, allocations: 11.56 kB / 0.666 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.694e-05/0.4307, allocations: 189.2 kB / 0.6662 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4308, allocations: 12.41 kB / 0.6662 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4308, allocations: 11.78 kB / 0.6662 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.4311, allocations: 116.5 kB / 0.6663 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4311, allocations: 4 kB / 0.6663 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4311, allocations: 5.062 kB / 0.6663 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4311, allocations: 1.125 kB / 0.6663 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.4315, allocations: 140.6 kB / 0.6665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.4324, allocations: 465.6 kB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.4326, allocations: 129.9 kB / 0.667 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.4328, allocations: 75.69 kB / 0.6671 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.4339, allocations: 0.968 MB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.434, allocations: 35.92 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.434, allocations: 0 / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006184/0.4346, allocations: 206.6 kB / 0.6683 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4346, allocations: 52.72 kB / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4347, allocations: 168 kB / 0.6685 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4348, allocations: 29.7 kB / 0.6685 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.4348, allocations: 114.1 kB / 0.6686 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.4349, allocations: 43.88 kB / 0.6687 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.4349, allocations: 47.89 kB / 0.6687 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.435, allocations: 325.8 kB / 0.669 GB, free: 2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4352, allocations: 72.47 kB / 0.6691 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.4354, allocations: 112.2 kB / 0.6692 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.4358, allocations: 162 kB / 0.6694 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4358, allocations: 9.234 kB / 0.6694 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004879/0.4363, allocations: 249.7 kB / 0.6696 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4363, allocations: 5.562 kB / 0.6696 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4363, allocations: 1.156 kB / 0.6696 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4363, allocations: 2.375 kB / 0.6696 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.4366, allocations: 64.2 kB / 0.6697 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4366, allocations: 2.375 kB / 0.6697 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.4368, allocations: 30.75 kB / 0.6697 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.4368, allocations: 6.656 kB / 0.6697 GB, free: 1.617 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 7.423e-05/0.4369, allocations: 123 kB / 0.6698 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.4369, allocations: 25.27 kB / 0.6699 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.4374, allocations: 178.8 kB / 0.67 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4374, allocations: 1.312 kB / 0.67 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4374, allocations: 0 / 0.67 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4374, allocations: 5.047 kB / 0.67 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4376, allocations: 210 kB / 0.6702 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4376, allocations: 3.938 kB / 0.6702 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.4377, allocations: 29.81 kB / 0.6703 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4377, allocations: 1.375 kB / 0.6703 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4377, allocations: 5.219 kB / 0.6703 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4377, allocations: 0 / 0.6703 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4378, allocations: 9.094 kB / 0.6703 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.4381, allocations: 251.5 kB / 0.6705 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.4382, allocations: 110 kB / 0.6706 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4382, allocations: 5.312 kB / 0.6706 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4383, allocations: 14.81 kB / 0.6706 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4384, allocations: 13.27 kB / 0.6707 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4384, allocations: 1.531 kB / 0.6707 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.4385, allocations: 118.1 kB / 0.6708 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4385, allocations: 0 / 0.6708 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003302/0.4388, allocations: 53.31 kB / 0.6708 GB, free: 0.6758 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.000718/0.4395, allocations: 0.8543 MB / 0.6717 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.44, allocations: 165.1 kB / 0.6718 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.44, allocations: 1.406 kB / 0.6718 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.4402, allocations: 70.36 kB / 0.6719 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4406, allocations: 21.45 kB / 0.6719 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.443, allocations: 1.955 MB / 0.6738 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.4432, allocations: 0.7032 MB / 0.6745 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.4433, allocations: 26.58 kB / 0.6745 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.4434, allocations: 35.23 kB / 0.6746 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4434, allocations: 3.938 kB / 0.6746 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.4654, allocations: 4.324 MB / 0.6788 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/8.032, allocations: 11.55 kB / 0.6788 GB, free: 11.26 MB / 0.5137 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/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)