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.004235/0.004235, allocations: 99.16 kB / 15.73 MB, free: 6.062 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.001169/0.001169, allocations: 201.5 kB / 16.68 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.918/0.918, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.88 kB / 0.5858 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3499, allocations: 81.03 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004421/0.3544, allocations: 4.546 MB / 0.6693 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.3551, allocations: 0.8175 MB / 0.6701 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.3552, allocations: 1.656 kB / 0.6701 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.3553, allocations: 28.45 kB / 0.6702 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.3554, allocations: 32.02 kB / 0.6702 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3558, allocations: 169.6 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3559, allocations: 174.6 kB / 0.6705 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.356, allocations: 14.06 kB / 0.6705 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3562, allocations: 87.69 kB / 0.6706 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.3563, allocations: 80.75 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3563, allocations: 13.44 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.3566, allocations: 153.9 kB / 0.6708 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3566, allocations: 28.19 kB / 0.6709 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3567, allocations: 72.08 kB / 0.6709 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.357, allocations: 235.9 kB / 0.6712 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.357, allocations: 5.312 kB / 0.6712 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.357, allocations: 3.938 kB / 0.6712 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.357, allocations: 4 kB / 0.6712 GB, free: 1.855 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.0006824/0.3577, allocations: 487 kB / 0.6716 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3577, allocations: 10.53 kB / 0.6717 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.3577, allocations: 36.88 kB / 0.6717 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3578, allocations: 15.53 kB / 0.6717 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.3579, allocations: 190.7 kB / 0.6719 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3579, allocations: 12.41 kB / 0.6719 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3579, allocations: 11.12 kB / 0.6719 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.3582, allocations: 119.1 kB / 0.672 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3582, allocations: 0 / 0.672 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3582, allocations: 5.453 kB / 0.672 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3583, allocations: 1.062 kB / 0.672 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.3586, allocations: 139.9 kB / 0.6722 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.3594, allocations: 470.5 kB / 0.6726 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3597, allocations: 122.2 kB / 0.6727 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3598, allocations: 75.2 kB / 0.6728 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.3611, allocations: 0.9761 MB / 0.6738 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3611, allocations: 31.66 kB / 0.6738 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.3611, allocations: 0 / 0.6738 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.000649/0.3618, allocations: 206.7 kB / 0.674 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3618, allocations: 56.48 kB / 0.674 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.362, allocations: 166.4 kB / 0.6742 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.362, allocations: 30.77 kB / 0.6742 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3621, allocations: 113.4 kB / 0.6743 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3621, allocations: 48.95 kB / 0.6744 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.3622, allocations: 47.55 kB / 0.6744 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3623, allocations: 322.8 kB / 0.6747 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3626, allocations: 79.5 kB / 0.6748 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3628, allocations: 106.8 kB / 0.6749 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.3633, allocations: 174.2 kB / 0.6751 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3633, allocations: 1.406 kB / 0.6751 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000561/0.3638, allocations: 255.2 kB / 0.6753 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3638, allocations: 4.625 kB / 0.6753 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3639, allocations: 1.156 kB / 0.6753 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3639, allocations: 2.25 kB / 0.6753 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3641, allocations: 56.48 kB / 0.6754 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3641, allocations: 2.188 kB / 0.6754 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3643, allocations: 30.52 kB / 0.6754 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3643, allocations: 14.69 kB / 0.6754 GB, free: 14.14 MB / 0.5137 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 0.0001032/0.3644, allocations: 131.1 kB / 0.6755 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3645, allocations: 13.3 kB / 0.6756 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.365, allocations: 180.7 kB / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.365, allocations: 2 kB / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.365, allocations: 4 kB / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.365, allocations: 1.094 kB / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3652, allocations: 218 kB / 0.6759 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3652, allocations: 3.938 kB / 0.676 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.3654, allocations: 33.44 kB / 0.676 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3654, allocations: 1.562 kB / 0.676 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3654, allocations: 4 kB / 0.676 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3654, allocations: 1.125 kB / 0.676 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3654, allocations: 0 / 0.676 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.3659, allocations: 253.5 kB / 0.6762 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.366, allocations: 102.2 kB / 0.6763 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.366, allocations: 7.984 kB / 0.6763 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3661, allocations: 11.08 kB / 0.6763 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3662, allocations: 17.36 kB / 0.6764 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.3662, allocations: 6.062 kB / 0.6764 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.016e-05/0.3663, allocations: 112.6 kB / 0.6765 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3663, allocations: 0 / 0.6765 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003038/0.3666, allocations: 64.44 kB / 0.6765 GB, free: 13.19 MB / 0.5137 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.0008894/0.3675, allocations: 0.844 MB / 0.6774 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.368, allocations: 174.1 kB / 0.6775 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.368, allocations: 0 / 0.6775 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3682, allocations: 62.89 kB / 0.6776 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3686, allocations: 29.27 kB / 0.6776 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3711, allocations: 1.953 MB / 0.6795 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3714, allocations: 0.7072 MB / 0.6802 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.425e-05/0.3715, allocations: 21.48 kB / 0.6802 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.3716, allocations: 43.92 kB / 0.6803 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3716, allocations: 0 / 0.6803 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/0.5322, allocations: 4.273 MB / 0.6844 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.617, allocations: 1.906 kB / 0.6845 GB, free: 7.766 MB / 0.5137 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)