Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.001649/0.001649, allocations: 174.5 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.8683/0.8683, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.697/1.697, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0009547/0.0009545, allocations: 91.83 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.342e-05, allocations: 4.344 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.38/6.574, allocations: 2.118 GB / 2.758 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/6.575, allocations: 85.27 kB / 2.758 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.906/9.481, allocations: 0.6601 GB / 3.418 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.353e-06/9.481, allocations: 0 / 3.418 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001/9.481, allocations: 35.77 kB / 3.418 GB, free: 101.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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004423/9.486, allocations: 1.491 MB / 3.42 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/9.486, allocations: 11 kB / 3.42 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/9.486, allocations: 107 kB / 3.42 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/9.489, allocations: 0.5408 MB / 3.421 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02622/9.515, allocations: 13.17 MB / 3.433 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/9.516, allocations: 312.8 kB / 3.434 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/9.516, allocations: 65.09 kB / 3.434 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/9.518, allocations: 0.9818 MB / 3.435 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/9.518, allocations: 6.125 kB / 3.435 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/9.518, allocations: 28.89 kB / 3.435 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/9.518, allocations: 31.48 kB / 3.435 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/9.519, allocations: 0.7962 MB / 3.436 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006139/9.525, allocations: 3.313 MB / 3.439 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/9.527, allocations: 0.5781 MB / 3.439 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/9.527, allocations: 366.7 kB / 3.44 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/9.528, allocations: 1.028 MB / 3.441 GB, free: 98.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007982/9.529, allocations: 492.3 kB / 3.441 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.196e-06/9.529, allocations: 2.062 kB / 3.441 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.00206/9.531, allocations: 0.8416 MB / 3.442 GB, free: 97.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/9.531, allocations: 140.1 kB / 3.442 GB, free: 97.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/9.532, allocations: 0.9479 MB / 3.443 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/9.533, allocations: 40.48 kB / 3.443 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/9.533, allocations: 448.6 kB / 3.444 GB, free: 97.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/9.533, allocations: 187.4 kB / 3.444 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/9.533, allocations: 11.34 kB / 3.444 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/9.533, allocations: 334 kB / 3.444 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/9.534, allocations: 312.2 kB / 3.444 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/9.534, allocations: 0.5187 MB / 3.445 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/9.535, allocations: 377.3 kB / 3.445 GB, free: 96.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/9.535, allocations: 3.406 kB / 3.445 GB, free: 96.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001538/9.537, allocations: 0.9605 MB / 3.446 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/9.537, allocations: 41.45 kB / 3.446 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/9.537, allocations: 5.781 kB / 3.446 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/9.537, allocations: 8.906 kB / 3.446 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/9.538, allocations: 218.7 kB / 3.446 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/9.538, allocations: 4.688 kB / 3.446 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/9.539, allocations: 315.6 kB / 3.447 GB, free: 96.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/9.54, allocations: 45.81 kB / 3.447 GB, free: 96.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0002621/9.54, allocations: 181.5 kB / 3.447 GB, free: 96.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/9.54, allocations: 110.6 kB / 3.447 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/9.542, allocations: 0.9414 MB / 3.448 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/9.542, allocations: 10.03 kB / 3.448 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/9.542, allocations: 5.688 kB / 3.448 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/9.542, allocations: 3.328 kB / 3.448 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004631/9.547, allocations: 3.143 MB / 3.451 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/9.547, allocations: 9.312 kB / 3.451 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/9.547, allocations: 134.2 kB / 3.451 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/9.547, allocations: 10.91 kB / 3.451 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/9.547, allocations: 29.64 kB / 3.451 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/9.547, allocations: 14.59 kB / 3.451 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/9.547, allocations: 13.41 kB / 3.451 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/9.549, allocations: 1.679 MB / 3.453 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/9.55, allocations: 338.9 kB / 3.453 GB, free: 94.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/9.55, allocations: 29.16 kB / 3.453 GB, free: 94.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/9.551, allocations: 128.3 kB / 3.453 GB, free: 94.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/9.552, allocations: 65.77 kB / 3.453 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/9.552, allocations: 44.38 kB / 3.453 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001232/9.553, allocations: 0.7461 MB / 3.454 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/9.553, allocations: 0 / 3.454 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002223/9.555, allocations: 434.5 kB / 3.455 GB, free: 94.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.004919/9.56, allocations: 5.792 MB / 3.46 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001462/9.562, allocations: 0.8382 MB / 3.461 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/9.562, allocations: 3.5 kB / 3.461 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/9.562, allocations: 481.3 kB / 3.462 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/9.565, allocations: 0.5243 MB / 3.462 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/9.569, allocations: 1.807 MB / 3.464 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/9.569, allocations: 1.095 MB / 3.465 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001203/9.571, allocations: 287 kB / 3.465 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/9.571, allocations: 368.2 kB / 3.465 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.694e-06/9.571, allocations: 1.219 kB / 3.465 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/9.689, allocations: 55.24 MB / 3.519 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/9.689, allocations: 201.4 kB / 3.52 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.953/13.64, allocations: 0.7031 kB / 3.52 GB, free: 53.28 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)