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.005621/0.00562, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, 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.874/1.874, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.001534/0.001535, allocations: 96.45 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008209/0.0008211, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9456, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.655/2.6, allocations: 335.4 MB / 0.9771 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004885/2.601, allocations: 85.33 kB / 0.9772 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04974/2.651, allocations: 14.22 MB / 0.9911 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.949e-06/2.651, allocations: 3.938 kB / 0.9911 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.998e-05/2.651, allocations: 4 kB / 0.9911 GB, free: 9.875 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.00161/2.652, allocations: 477.4 kB / 0.9915 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 9.567e-05/2.653, allocations: 8.031 kB / 0.9915 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/2.653, allocations: 38.5 kB / 0.9916 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/2.653, allocations: 15.81 kB / 0.9916 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/2.653, allocations: 171 kB / 0.9918 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/2.653, allocations: 11.48 kB / 0.9918 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/2.653, allocations: 11.25 kB / 0.9918 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/2.654, allocations: 135.1 kB / 0.9919 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/2.654, allocations: 0 / 0.9919 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/2.654, allocations: 3.438 kB / 0.9919 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/2.654, allocations: 4 kB / 0.9919 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/2.654, allocations: 163.8 kB / 0.9921 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/2.656, allocations: 471.6 kB / 0.9925 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/2.657, allocations: 142 kB / 0.9927 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002902/2.66, allocations: 0.9573 MB / 0.9936 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.202e-05/2.66, allocations: 38.25 kB / 0.9936 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/2.66, allocations: 0 / 0.9936 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001159/2.661, allocations: 237.6 kB / 0.9939 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.661, allocations: 59.33 kB / 0.9939 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/2.661, allocations: 152.7 kB / 0.9941 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/2.662, allocations: 32.95 kB / 0.9941 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/2.662, allocations: 107.6 kB / 0.9942 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/2.662, allocations: 50.12 kB / 0.9942 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/2.662, allocations: 3.375 kB / 0.9942 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003606/2.662, allocations: 322.6 kB / 0.9945 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/2.663, allocations: 85.19 kB / 0.9946 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/2.663, allocations: 118.1 kB / 0.9947 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/2.663, allocations: 93.38 kB / 0.9948 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/2.663, allocations: 4 kB / 0.9948 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007951/2.664, allocations: 257.7 kB / 0.9951 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/2.664, allocations: 7.953 kB / 0.9951 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/2.664, allocations: 3.938 kB / 0.9951 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/2.664, allocations: 8.094 kB / 0.9951 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/2.665, allocations: 59.77 kB / 0.9952 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/2.665, allocations: 4 kB / 0.9952 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/2.665, allocations: 35.05 kB / 0.9952 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/2.665, allocations: 4 kB / 0.9952 GB, free: 5.715 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.0002075/2.665, allocations: 136.5 kB / 0.9953 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/2.665, allocations: 7.906 kB / 0.9953 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/2.666, allocations: 213.9 kB / 0.9955 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/2.666, allocations: 0 / 0.9955 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/2.666, allocations: 0 / 0.9955 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/2.666, allocations: 4 kB / 0.9955 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/2.666, allocations: 210.7 kB / 0.9957 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.666, allocations: 0 / 0.9957 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/2.667, allocations: 35.97 kB / 0.9958 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/2.667, allocations: 8 kB / 0.9958 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/2.667, allocations: 3.812 kB / 0.9958 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/2.667, allocations: 3.953 kB / 0.9958 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.667, allocations: 0 / 0.9958 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/2.667, allocations: 278.2 kB / 0.9961 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/2.668, allocations: 85.02 kB / 0.9961 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/2.668, allocations: 11.48 kB / 0.9961 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/2.668, allocations: 19.98 kB / 0.9962 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/2.668, allocations: 15.69 kB / 0.9962 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/2.668, allocations: 4 kB / 0.9962 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001285/2.668, allocations: 113.8 kB / 0.9963 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/2.668, allocations: 0 / 0.9963 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005714/2.669, allocations: 66.88 kB / 0.9964 GB, free: 4.547 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.0015/2.67, allocations: 0.8895 MB / 0.9972 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006977/2.671, allocations: 186 kB / 0.9974 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/2.671, allocations: 0 / 0.9974 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/2.671, allocations: 85.77 kB / 0.9975 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/2.672, allocations: 23.5 kB / 0.9975 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/2.673, allocations: 1.051 MB / 0.9985 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/2.674, allocations: 0.7126 MB / 0.9992 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001625/2.674, allocations: 20.95 kB / 0.9993 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/2.674, allocations: 40.48 kB / 0.9993 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/2.674, allocations: 0 / 0.9993 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/2.701, allocations: 4.2 MB / 1.003 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/2.702, allocations: 188.3 kB / 1.004 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/5.451, allocations: 3.938 kB / 1.004 GB, free: 13.3 MB / 0.6511 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)