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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.008142/0.008141, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7657/0.7657, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.0009497/0.0009496, allocations: 107 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 16 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4534, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6985/1.152, allocations: 335.4 MB / 0.9771 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.152, allocations: 86.62 kB / 0.9772 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03278/1.185, allocations: 14.21 MB / 0.9911 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.837e-06/1.185, allocations: 3.938 kB / 0.9911 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.185, allocations: 11.94 kB / 0.9911 GB, free: 9.926 MB / 0.6355 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.0008055/1.186, allocations: 477.9 kB / 0.9915 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.186, allocations: 8.031 kB / 0.9915 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/1.186, allocations: 38.5 kB / 0.9916 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/1.186, allocations: 15.81 kB / 0.9916 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.186, allocations: 180.6 kB / 0.9918 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/1.186, allocations: 7.188 kB / 0.9918 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/1.186, allocations: 11.62 kB / 0.9918 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/1.187, allocations: 134.2 kB / 0.9919 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.187, allocations: 0 / 0.9919 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.187, allocations: 0 / 0.9919 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.187, allocations: 4 kB / 0.9919 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/1.187, allocations: 160.5 kB / 0.9921 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/1.188, allocations: 477 kB / 0.9925 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/1.188, allocations: 136.3 kB / 0.9927 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.19, allocations: 0.9625 MB / 0.9936 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.19, allocations: 34.38 kB / 0.9936 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/1.19, allocations: 0 / 0.9936 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0006873/1.19, allocations: 239.8 kB / 0.9939 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/1.191, allocations: 59.33 kB / 0.9939 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.191, allocations: 151.5 kB / 0.9941 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/1.191, allocations: 33.45 kB / 0.9941 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/1.191, allocations: 108.1 kB / 0.9942 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/1.191, allocations: 46.95 kB / 0.9942 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/1.191, allocations: 0 / 0.9942 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.191, allocations: 330.1 kB / 0.9946 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.191, allocations: 82.25 kB / 0.9946 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.191, allocations: 121.2 kB / 0.9948 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.192, allocations: 94.83 kB / 0.9948 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.192, allocations: 0 / 0.9948 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00054/1.192, allocations: 255.8 kB / 0.9951 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.192, allocations: 13.2 kB / 0.9951 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.192, allocations: 0 / 0.9951 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.192, allocations: 7.938 kB / 0.9951 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/1.193, allocations: 63.8 kB / 0.9952 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.193, allocations: 0 / 0.9952 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.193, allocations: 35.42 kB / 0.9952 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/1.193, allocations: 8 kB / 0.9952 GB, free: 5.766 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.193, allocations: 127.8 kB / 0.9953 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/1.193, allocations: 11.91 kB / 0.9953 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/1.193, allocations: 214.5 kB / 0.9955 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.193, allocations: 3.984 kB / 0.9955 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.194, allocations: 0 / 0.9955 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.194, allocations: 0 / 0.9955 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/1.194, allocations: 215.3 kB / 0.9958 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.194, allocations: 4 kB / 0.9958 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.194, allocations: 31.97 kB / 0.9958 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.194, allocations: 0 / 0.9958 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.194, allocations: 8 kB / 0.9958 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.194, allocations: 3.953 kB / 0.9958 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.194, allocations: 0 / 0.9958 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/1.194, allocations: 282.5 kB / 0.9961 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/1.195, allocations: 85.02 kB / 0.9962 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/1.195, allocations: 3.984 kB / 0.9962 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.195, allocations: 27.42 kB / 0.9962 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/1.195, allocations: 11.94 kB / 0.9962 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/1.195, allocations: 4 kB / 0.9962 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.908e-05/1.195, allocations: 113.9 kB / 0.9963 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 0 / 0.9963 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003463/1.195, allocations: 63.44 kB / 0.9964 GB, free: 4.598 MB / 0.6355 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 (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.0009488/1.196, allocations: 0.8889 MB / 0.9972 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000484/1.197, allocations: 187.9 kB / 0.9974 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.197, allocations: 0 / 0.9974 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.197, allocations: 82.2 kB / 0.9975 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/1.197, allocations: 24.39 kB / 0.9975 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/1.198, allocations: 1.052 MB / 0.9985 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/1.198, allocations: 0.7048 MB / 0.9992 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001096/1.198, allocations: 28.94 kB / 0.9993 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/1.199, allocations: 36.98 kB / 0.9993 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/1.199, allocations: 0 / 0.9993 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/1.214, allocations: 4.2 MB / 1.003 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/1.214, allocations: 187.8 kB / 1.004 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.92, allocations: 0 / 1.004 GB, free: 13.33 MB / 0.6511 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/linux/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)