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.000767/0.0007709, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00472/0.00472, allocations: 170 kB / 16.26 MB, free: 6.613 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8.781 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.343, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00384/0.3469, allocations: 4.204 MB / 0.5879 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.3477, allocations: 0.8172 MB / 0.5887 GB, free: 376 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.3478, allocations: 0.6875 kB / 0.5887 GB, free: 376 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.3479, allocations: 24.86 kB / 0.5887 GB, free: 364 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.348, allocations: 26.97 kB / 0.5887 GB, free: 344 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.3484, allocations: 148.1 kB / 0.5888 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3485, allocations: 169.5 kB / 0.589 GB, free: 184 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.3486, allocations: 19.75 kB / 0.589 GB, free: 176 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3488, allocations: 70.92 kB / 0.5891 GB, free: 148 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.3489, allocations: 71.11 kB / 0.5892 GB, free: 120 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3489, allocations: 6.906 kB / 0.5892 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3492, allocations: 146.9 kB / 0.5893 GB, free: 72 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.3493, allocations: 24.64 kB / 0.5893 GB, free: 60 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.3494, allocations: 84.81 kB / 0.5894 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.3497, allocations: 235.3 kB / 0.5896 GB, free: 15.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3497, allocations: 4 kB / 0.5896 GB, free: 15.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3498, allocations: 0 / 0.5896 GB, free: 15.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3498, allocations: 0.5625 kB / 0.5896 GB, free: 15.92 MB / 446.1 MB 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.000802/0.3506, allocations: 472.5 kB / 0.5901 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3506, allocations: 8.75 kB / 0.5901 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3507, allocations: 42.09 kB / 0.5901 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3507, allocations: 12.56 kB / 0.5901 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3508, allocations: 188.7 kB / 0.5903 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3509, allocations: 11.75 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3509, allocations: 7.469 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.3512, allocations: 134.6 kB / 0.5905 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3513, allocations: 0 / 0.5905 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3513, allocations: 6.203 kB / 0.5905 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3513, allocations: 1.094 kB / 0.5905 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3517, allocations: 162.3 kB / 0.5906 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.3527, allocations: 479.4 kB / 0.5911 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.353, allocations: 136.2 kB / 0.5912 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3532, allocations: 90.17 kB / 0.5913 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.3545, allocations: 0.9537 MB / 0.5922 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3545, allocations: 40.84 kB / 0.5923 GB, free: 13.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3545, allocations: 0 / 0.5923 GB, free: 13.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006921/0.3552, allocations: 245.7 kB / 0.5925 GB, free: 13.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3553, allocations: 56.75 kB / 0.5926 GB, free: 13.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3554, allocations: 162.9 kB / 0.5927 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3555, allocations: 30.22 kB / 0.5928 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.3555, allocations: 108.5 kB / 0.5929 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3556, allocations: 40.2 kB / 0.5929 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3556, allocations: 29.06 kB / 0.5929 GB, free: 13.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.3557, allocations: 322.9 kB / 0.5932 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3559, allocations: 89.02 kB / 0.5933 GB, free: 12.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3562, allocations: 119.3 kB / 0.5934 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.3567, allocations: 194.8 kB / 0.5936 GB, free: 12.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3567, allocations: 0 / 0.5936 GB, free: 12.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005974/0.3573, allocations: 269.1 kB / 0.5939 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3573, allocations: 10.59 kB / 0.5939 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3573, allocations: 0 / 0.5939 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3573, allocations: 3.266 kB / 0.5939 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.3576, allocations: 59.19 kB / 0.5939 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3576, allocations: 2.219 kB / 0.5939 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.3578, allocations: 41.48 kB / 0.594 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3578, allocations: 6.344 kB / 0.594 GB, free: 12.64 MB / 446.1 MB 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 8.286e-05/0.3579, allocations: 124.5 kB / 0.5941 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.358, allocations: 16.62 kB / 0.5941 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.3585, allocations: 204.2 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3585, allocations: 1.094 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3585, allocations: 0.6562 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3585, allocations: 0.75 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3587, allocations: 215.4 kB / 0.5945 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3587, allocations: 4 kB / 0.5945 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3589, allocations: 38.2 kB / 0.5946 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3589, allocations: 0 / 0.5946 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3589, allocations: 5.094 kB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3589, allocations: 1.656 kB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3589, allocations: 3.938 kB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.3594, allocations: 285.2 kB / 0.5948 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.3595, allocations: 102 kB / 0.5949 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3595, allocations: 1.75 kB / 0.5949 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3597, allocations: 21.62 kB / 0.595 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3597, allocations: 8.25 kB / 0.595 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3597, allocations: 2.75 kB / 0.595 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.3598, allocations: 117.8 kB / 0.5951 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3598, allocations: 4 kB / 0.5951 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3601, allocations: 58.97 kB / 0.5952 GB, free: 11.8 MB / 446.1 MB 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.0008453/0.361, allocations: 0.8786 MB / 0.596 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.3615, allocations: 189.9 kB / 0.5962 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3615, allocations: 0 / 0.5962 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3617, allocations: 85.44 kB / 0.5963 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.362, allocations: 20.91 kB / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3644, allocations: 2.04 MB / 0.5983 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3647, allocations: 0.7028 MB / 0.599 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.3648, allocations: 20.25 kB / 0.599 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.3649, allocations: 35.73 kB / 0.599 GB, free: 8.758 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3649, allocations: 0 / 0.599 GB, free: 8.758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.169/2.534, allocations: 3.871 MB / 0.6028 GB, free: 7.363 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/2.535, allocations: 207.3 kB / 0.603 GB, free: 7.113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/4.504, allocations: 112 / 0.603 GB, free: 7.113 MB / 446.1 MB (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)