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.001762/0.001762, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.6/1.6, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 100.7 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.998e-05, allocations: 8.094 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.189, allocations: 82.3 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8841/1.073, allocations: 335.4 MB / 0.968 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.073, allocations: 94.44 kB / 0.9681 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4636/1.537, allocations: 14.16 MB / 0.9819 GB, free: 262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.092e-06/1.537, allocations: 0 / 0.9819 GB, free: 262 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.537, allocations: 2.594 kB / 0.9819 GB, free: 262 MB / 0.6823 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.0009246/1.538, allocations: 460.3 kB / 0.9824 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.538, allocations: 9.688 kB / 0.9824 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/1.538, allocations: 47.45 kB / 0.9824 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/1.538, allocations: 14.22 kB / 0.9824 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.538, allocations: 183.6 kB / 0.9826 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/1.538, allocations: 8.031 kB / 0.9826 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/1.538, allocations: 13.02 kB / 0.9826 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.539, allocations: 90.91 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.539, allocations: 0 / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.539, allocations: 4 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.539, allocations: 2.594 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/1.539, allocations: 93.11 kB / 0.9828 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/1.54, allocations: 479.7 kB / 0.9833 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/1.54, allocations: 95.39 kB / 0.9834 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/1.54, allocations: 53.27 kB / 0.9834 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/1.542, allocations: 0.9835 MB / 0.9844 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.542, allocations: 32.3 kB / 0.9844 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/1.542, allocations: 0 / 0.9844 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003041/1.542, allocations: 111.2 kB / 0.9845 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/1.542, allocations: 52.66 kB / 0.9846 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.542, allocations: 150 kB / 0.9847 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/1.542, allocations: 30.64 kB / 0.9847 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/1.542, allocations: 111.1 kB / 0.9848 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/1.542, allocations: 36.52 kB / 0.9849 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.542, allocations: 4.938 kB / 0.9849 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/1.543, allocations: 329.9 kB / 0.9852 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.543, allocations: 46.62 kB / 0.9852 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.543, allocations: 91.19 kB / 0.9853 GB, free: 259 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/1.543, allocations: 53.48 kB / 0.9854 GB, free: 259 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.543, allocations: 3.938 kB / 0.9854 GB, free: 259 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003763/1.543, allocations: 198.9 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.543, allocations: 6.25 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.543, allocations: 1.281 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.543, allocations: 6.188 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/1.544, allocations: 61.31 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.544, allocations: 2.875 kB / 0.9856 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/1.544, allocations: 34.78 kB / 0.9857 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/1.544, allocations: 10.62 kB / 0.9857 GB, free: 258.9 MB / 0.6823 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 () * 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 6.741e-05/1.544, allocations: 120 kB / 0.9858 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/1.544, allocations: 12.11 kB / 0.9858 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/1.544, allocations: 130.7 kB / 0.9859 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.544, allocations: 4.969 kB / 0.9859 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.544, allocations: 0.875 kB / 0.9859 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.544, allocations: 0 / 0.9859 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/1.545, allocations: 216.3 kB / 0.9861 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.545, allocations: 0 / 0.9861 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.545, allocations: 38 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.545, allocations: 1.406 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.545, allocations: 5.172 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.545, allocations: 3.797 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.545, allocations: 0.9688 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/1.545, allocations: 207 kB / 0.9864 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/1.545, allocations: 96.02 kB / 0.9865 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/1.545, allocations: 9 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/1.545, allocations: 19.94 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/1.545, allocations: 12.19 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/1.545, allocations: 2.25 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.681e-05/1.545, allocations: 117.6 kB / 0.9866 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.545, allocations: 0 / 0.9866 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004113/1.546, allocations: 73.59 kB / 0.9867 GB, free: 258 MB / 0.6823 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 () * 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.0006832/1.547, allocations: 0.8216 MB / 0.9875 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002733/1.547, allocations: 120.3 kB / 0.9876 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.547, allocations: 0 / 0.9876 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/1.547, allocations: 48 kB / 0.9877 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.547, allocations: 20.62 kB / 0.9877 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/1.548, allocations: 216.7 kB / 0.9879 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/1.548, allocations: 0.7102 MB / 0.9886 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001153/1.548, allocations: 25.66 kB / 0.9886 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/1.548, allocations: 34.75 kB / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.548, allocations: 0 / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/1.569, allocations: 4.258 MB / 0.9928 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.569, allocations: 167.1 kB / 0.993 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/3.365, allocations: 3.938 kB / 0.993 GB, free: 255.6 MB / 0.6823 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)