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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 174.7 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.8119/0.8119, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.47/1.47, allocations: 221.3 MB / 400.4 MB, free: 5.773 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.0009295/0.0009297, allocations: 89.89 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.959e-05/4.963e-05, allocations: 4.844 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8624/1.046, allocations: 335.4 MB / 0.968 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.046, allocations: 92.55 kB / 0.9681 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4791/1.526, allocations: 14.16 MB / 0.9819 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/1.526, allocations: 0 / 0.9819 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.526, allocations: 2.938 kB / 0.9819 GB, free: 261.9 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.0008837/1.527, allocations: 459.5 kB / 0.9824 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.527, allocations: 9.875 kB / 0.9824 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/1.527, allocations: 42.78 kB / 0.9824 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/1.527, allocations: 10.5 kB / 0.9824 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.527, allocations: 187.4 kB / 0.9826 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/1.527, allocations: 9.469 kB / 0.9826 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/1.527, allocations: 10.88 kB / 0.9826 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/1.527, allocations: 97.11 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.527, allocations: 4 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.527, allocations: 0 / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.527, allocations: 2.625 kB / 0.9827 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/1.528, allocations: 101.8 kB / 0.9828 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.529, allocations: 475.7 kB / 0.9833 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/1.529, allocations: 96.61 kB / 0.9834 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/1.529, allocations: 45.12 kB / 0.9834 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.53, allocations: 0.9855 MB / 0.9844 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.53, allocations: 36.42 kB / 0.9844 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/1.53, allocations: 0 / 0.9844 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.00031/1.531, allocations: 113.1 kB / 0.9845 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/1.531, allocations: 53.53 kB / 0.9846 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.531, allocations: 146.3 kB / 0.9847 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.531, allocations: 29.7 kB / 0.9847 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/1.531, allocations: 108.4 kB / 0.9848 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/1.531, allocations: 38.3 kB / 0.9849 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/1.531, allocations: 9.438 kB / 0.9849 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/1.531, allocations: 322.5 kB / 0.9852 GB, free: 259 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/1.531, allocations: 50.44 kB / 0.9852 GB, free: 259 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.531, allocations: 87.39 kB / 0.9853 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/1.532, allocations: 53.25 kB / 0.9854 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.532, allocations: 5.219 kB / 0.9854 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003935/1.532, allocations: 199 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.532, allocations: 5.531 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.532, allocations: 1.031 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.532, allocations: 2.344 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/1.532, allocations: 59.53 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.532, allocations: 2.969 kB / 0.9856 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/1.533, allocations: 40.39 kB / 0.9857 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/1.533, allocations: 11.58 kB / 0.9857 GB, free: 258.8 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 8.798e-05/1.533, allocations: 113.3 kB / 0.9858 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/1.533, allocations: 17.48 kB / 0.9858 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/1.533, allocations: 124.8 kB / 0.9859 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.533, allocations: 9.594 kB / 0.9859 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.533, allocations: 2 kB / 0.9859 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.533, allocations: 7.875 kB / 0.986 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/1.533, allocations: 211.5 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.534, allocations: 0 / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/1.534, allocations: 38.77 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/1.534, allocations: 1.188 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/1.534, allocations: 4.859 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.534, allocations: 4.969 kB / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.534, allocations: 0 / 0.9862 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/1.534, allocations: 208.3 kB / 0.9864 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/1.534, allocations: 92.89 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/1.534, allocations: 5.281 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.534, allocations: 23.89 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/1.534, allocations: 7.344 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.534, allocations: 10.5 kB / 0.9865 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.71e-05/1.535, allocations: 114.7 kB / 0.9866 GB, free: 258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.535, allocations: 0 / 0.9866 GB, free: 258 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004382/1.535, allocations: 69.25 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.0007591/1.536, allocations: 0.8176 MB / 0.9875 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003232/1.536, allocations: 120.6 kB / 0.9876 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.536, allocations: 0 / 0.9876 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/1.536, allocations: 45.16 kB / 0.9877 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.536, allocations: 28 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.0007225/1.537, allocations: 215.9 kB / 0.9879 GB, free: 257 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/1.537, allocations: 0.7094 MB / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001208/1.538, allocations: 20.95 kB / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/1.538, allocations: 31.62 kB / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/1.538, allocations: 0 / 0.9886 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/1.558, allocations: 4.265 MB / 0.9928 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.558, allocations: 170.3 kB / 0.993 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/3.436, allocations: 2.109 kB / 0.993 GB, free: 255.6 MB / 0.6823 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/linux/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)