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.01199/0.01199, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7875/0.7875, allocations: 135.2 MB / 151 MB, free: 13.81 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.607/1.607, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.00114/0.001141, allocations: 96.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5115, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.758, allocations: 2.118 GB / 2.767 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/5.758, allocations: 87.95 kB / 2.767 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.692/8.45, allocations: 0.6612 GB / 3.429 GB, free: 120.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/8.45, allocations: 0 / 3.429 GB, free: 120.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001657/8.45, allocations: 39.78 kB / 3.429 GB, free: 120.2 MB / 0.698 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.007158/8.458, allocations: 1.645 MB / 3.43 GB, free: 119.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/8.458, allocations: 9.438 kB / 3.43 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005524/8.458, allocations: 110.6 kB / 3.43 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/8.461, allocations: 0.5329 MB / 3.431 GB, free: 119.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02799/8.49, allocations: 13.23 MB / 3.444 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/8.491, allocations: 314.7 kB / 3.444 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/8.491, allocations: 70.12 kB / 3.444 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/8.495, allocations: 1.169 MB / 3.445 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/8.495, allocations: 0 / 3.445 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/8.495, allocations: 25.94 kB / 3.445 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/8.495, allocations: 35.39 kB / 3.445 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/8.498, allocations: 1.162 MB / 3.446 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/8.506, allocations: 3.322 MB / 3.45 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/8.508, allocations: 0.7045 MB / 3.45 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/8.508, allocations: 1.034 MB / 3.451 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/8.51, allocations: 0.5319 MB / 3.452 GB, free: 116.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.087e-06/8.51, allocations: 0 / 3.452 GB, free: 116.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003634/8.513, allocations: 1.376 MB / 3.453 GB, free: 116.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/8.513, allocations: 141.5 kB / 3.453 GB, free: 116.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/8.516, allocations: 1.085 MB / 3.454 GB, free: 116.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/8.516, allocations: 42.14 kB / 3.454 GB, free: 116 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/8.516, allocations: 440.4 kB / 3.455 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/8.517, allocations: 189.5 kB / 3.455 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/8.517, allocations: 10.94 kB / 3.455 GB, free: 115.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/8.517, allocations: 331.2 kB / 3.455 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/8.518, allocations: 497.8 kB / 3.456 GB, free: 115.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/8.519, allocations: 0.6949 MB / 3.457 GB, free: 115.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/8.521, allocations: 0.5652 MB / 3.457 GB, free: 115.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/8.521, allocations: 0 / 3.457 GB, free: 115.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00335/8.524, allocations: 1.331 MB / 3.458 GB, free: 115.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/8.524, allocations: 33.33 kB / 3.458 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/8.524, allocations: 3.656 kB / 3.458 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/8.524, allocations: 7.844 kB / 3.458 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/8.525, allocations: 215 kB / 3.459 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/8.525, allocations: 12.28 kB / 3.459 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/8.527, allocations: 310.5 kB / 3.459 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/8.528, allocations: 49.86 kB / 3.459 GB, free: 115.1 MB / 0.698 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 () * Number of clocked 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.0006949/8.528, allocations: 331.2 kB / 3.459 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/8.529, allocations: 121.4 kB / 3.459 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/8.531, allocations: 1.055 MB / 3.46 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/8.531, allocations: 11.69 kB / 3.461 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/8.531, allocations: 2.312 kB / 3.461 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/8.531, allocations: 0 / 3.461 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/8.536, allocations: 3.26 MB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/8.536, allocations: 6.531 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/8.537, allocations: 126.7 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/8.537, allocations: 10.94 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/8.537, allocations: 26.11 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/8.537, allocations: 16.31 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/8.537, allocations: 10.09 kB / 3.464 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/8.54, allocations: 1.803 MB / 3.466 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008764/8.54, allocations: 332.3 kB / 3.466 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/8.541, allocations: 31.52 kB / 3.466 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/8.542, allocations: 130.6 kB / 3.466 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/8.542, allocations: 65.42 kB / 3.466 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/8.542, allocations: 38.36 kB / 3.466 GB, free: 112.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001586/8.544, allocations: 0.8827 MB / 3.467 GB, free: 112.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/8.544, allocations: 0 / 3.467 GB, free: 112.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002385/8.546, allocations: 434.9 kB / 3.467 GB, free: 112.7 MB / 0.698 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) * Number of clocked states: 0 () * 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.005699/8.552, allocations: 5.903 MB / 3.473 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002816/8.555, allocations: 1.072 MB / 3.474 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/8.555, allocations: 0 / 3.474 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/8.556, allocations: 0.5308 MB / 3.475 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/8.559, allocations: 0.5287 MB / 3.475 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/8.574, allocations: 9.216 MB / 3.484 GB, free: 104.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/8.575, allocations: 1.093 MB / 3.485 GB, free: 103.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00158/8.576, allocations: 278.2 kB / 3.486 GB, free: 103.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/8.577, allocations: 359.9 kB / 3.486 GB, free: 103.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/8.577, allocations: 0 / 3.486 GB, free: 103.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08838/8.665, allocations: 51.81 MB / 3.537 GB, free: 101.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/8.665, allocations: 224.5 kB / 3.537 GB, free: 101.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/12.86, allocations: 0 / 3.537 GB, free: 101.5 MB / 0.698 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)