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.005573/0.005573, allocations: 99.38 kB / 15.73 MB, free: 6.023 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.001552/0.001552, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4195, allocations: 80.91 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006358/0.4259, allocations: 4.551 MB / 0.6686 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4271, allocations: 0.8132 MB / 0.6694 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.4272, allocations: 1.281 kB / 0.6694 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.4275, allocations: 37.58 kB / 0.6694 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.4276, allocations: 30.33 kB / 0.6695 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.4284, allocations: 170.5 kB / 0.6696 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.4287, allocations: 174.4 kB / 0.6698 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4288, allocations: 26.03 kB / 0.6698 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.429, allocations: 76.23 kB / 0.6699 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4291, allocations: 80.28 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.4291, allocations: 13.59 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.4295, allocations: 153.1 kB / 0.6701 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.4295, allocations: 36.95 kB / 0.6702 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.4296, allocations: 71.78 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.4299, allocations: 234.1 kB / 0.6705 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.43, allocations: 1 kB / 0.6705 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.43, allocations: 7.922 kB / 0.6705 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.43, allocations: 0 / 0.6705 GB, free: 2.246 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.0007738/0.4308, allocations: 472.5 kB / 0.6709 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4308, allocations: 8.969 kB / 0.6709 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.4308, allocations: 41.78 kB / 0.671 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.4309, allocations: 15.31 kB / 0.671 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.431, allocations: 187 kB / 0.6712 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.431, allocations: 16.45 kB / 0.6712 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4311, allocations: 7.594 kB / 0.6712 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4314, allocations: 114.7 kB / 0.6713 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4314, allocations: 4 kB / 0.6713 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4314, allocations: 9.109 kB / 0.6713 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4314, allocations: 1.344 kB / 0.6713 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.4318, allocations: 144 kB / 0.6714 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.433, allocations: 469.9 kB / 0.6719 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.4334, allocations: 126.3 kB / 0.672 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4336, allocations: 71.94 kB / 0.6721 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.4349, allocations: 0.963 MB / 0.673 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4349, allocations: 35.94 kB / 0.6731 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.4349, allocations: 1.281 kB / 0.6731 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007256/0.4357, allocations: 214 kB / 0.6733 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4357, allocations: 53.03 kB / 0.6733 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4359, allocations: 162.4 kB / 0.6735 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4359, allocations: 30.98 kB / 0.6735 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.436, allocations: 108.4 kB / 0.6736 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.4361, allocations: 44.69 kB / 0.6736 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.4361, allocations: 55.59 kB / 0.6737 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4363, allocations: 322.1 kB / 0.674 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.4365, allocations: 72.11 kB / 0.6741 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4368, allocations: 112.9 kB / 0.6742 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.4372, allocations: 169 kB / 0.6743 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4372, allocations: 7.938 kB / 0.6743 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006106/0.4378, allocations: 247.8 kB / 0.6746 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4379, allocations: 5.312 kB / 0.6746 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4379, allocations: 1.406 kB / 0.6746 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4379, allocations: 2.469 kB / 0.6746 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4382, allocations: 52.36 kB / 0.6746 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4382, allocations: 10.16 kB / 0.6746 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4384, allocations: 30.11 kB / 0.6747 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.4384, allocations: 6.312 kB / 0.6747 GB, free: 14.56 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.0001082/0.4385, allocations: 123.2 kB / 0.6748 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.4386, allocations: 21.66 kB / 0.6748 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.4391, allocations: 185.1 kB / 0.675 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.4391, allocations: 1.031 kB / 0.675 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4391, allocations: 5.031 kB / 0.675 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4392, allocations: 0 / 0.675 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4394, allocations: 218.4 kB / 0.6752 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4394, allocations: 3.938 kB / 0.6752 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.4396, allocations: 25.42 kB / 0.6752 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4396, allocations: 1.562 kB / 0.6752 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4396, allocations: 13.55 kB / 0.6753 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4396, allocations: 0 / 0.6753 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4396, allocations: 0 / 0.6753 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.4401, allocations: 252.7 kB / 0.6755 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.4402, allocations: 102 kB / 0.6756 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4403, allocations: 9.031 kB / 0.6756 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4404, allocations: 15.11 kB / 0.6756 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.4405, allocations: 8.609 kB / 0.6756 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4405, allocations: 6.219 kB / 0.6756 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.4406, allocations: 112.9 kB / 0.6757 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4406, allocations: 0 / 0.6757 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003858/0.441, allocations: 60.58 kB / 0.6758 GB, free: 13.61 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.0009771/0.442, allocations: 0.8571 MB / 0.6766 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.4425, allocations: 167 kB / 0.6768 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4426, allocations: 0 / 0.6768 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4428, allocations: 74.25 kB / 0.6769 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4432, allocations: 19.77 kB / 0.6769 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.446, allocations: 1.958 MB / 0.6788 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4463, allocations: 0.7036 MB / 0.6795 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.4464, allocations: 20.8 kB / 0.6795 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.4465, allocations: 31.69 kB / 0.6795 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.4465, allocations: 0 / 0.6795 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.4709, allocations: 4.326 MB / 0.6838 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.408, allocations: 15.92 kB / 0.6838 GB, free: 8.148 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)