Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.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.Examples.EmbeddedPipeDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp",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.001356/0.001356, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8938/0.8938, allocations: 133.6 MB / 141.6 MB, free: 2.848 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.119/2.119, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009193/0.0009191, allocations: 101.4 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.022e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4795, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/1.325, allocations: 399.2 MB / 1.024 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.325, allocations: 88.14 kB / 1.024 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.238/3.564, allocations: 0.5093 GB / 1.533 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/3.564, allocations: 0 / 1.533 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003701/3.564, allocations: 62.97 kB / 1.533 GB, free: 66.78 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: 459 * Number of variables: 459 Notification: Performance of Generate backend data structure: time 0.009666/3.574, allocations: 2.54 MB / 1.536 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/3.574, allocations: 12.03 kB / 1.536 GB, free: 64.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/3.578, allocations: 468.3 kB / 1.536 GB, free: 63.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02515/3.603, allocations: 5.581 MB / 1.542 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/3.603, allocations: 56 kB / 1.542 GB, free: 58.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007089/3.604, allocations: 123.9 kB / 1.542 GB, free: 58.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005221/3.609, allocations: 1.787 MB / 1.544 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005021/3.614, allocations: 1.962 MB / 1.545 GB, free: 54.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/3.615, allocations: 15.84 kB / 1.545 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/3.615, allocations: 8 kB / 1.545 GB, free: 54.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-05/3.615, allocations: 63.5 kB / 1.546 GB, free: 54.12 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/3.635, allocations: 8.619 MB / 1.554 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005537/3.64, allocations: 2.338 MB / 1.556 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/3.642, allocations: 1.127 MB / 1.557 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009488/3.643, allocations: 1.003 MB / 1.558 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001985/3.645, allocations: 0.9836 MB / 1.559 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001606/3.647, allocations: 98.78 kB / 1.559 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=169): time 7.093e-06/3.647, allocations: 0 / 1.559 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=169): time 0.006138/3.653, allocations: 1.911 MB / 1.561 GB, free: 37.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/3.653, allocations: 128.8 kB / 1.561 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/3.657, allocations: 1.392 MB / 1.563 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/3.658, allocations: 25.7 kB / 1.563 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/3.659, allocations: 0.9364 MB / 1.564 GB, free: 34.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009985/3.66, allocations: 0.5773 MB / 1.564 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/3.66, allocations: 0 / 1.564 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002242/3.66, allocations: 381.9 kB / 1.565 GB, free: 33.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/3.662, allocations: 0.7457 MB / 1.565 GB, free: 33.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/3.664, allocations: 1.099 MB / 1.566 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/3.667, allocations: 1.023 MB / 1.567 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/3.668, allocations: 0 / 1.567 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.006714/3.674, allocations: 2.325 MB / 1.57 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007919/3.675, allocations: 3.102 MB / 1.573 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/3.675, allocations: 8 kB / 1.573 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/3.676, allocations: 250.4 kB / 1.573 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/3.679, allocations: 471.3 kB / 1.573 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/3.684, allocations: 4.307 MB / 1.578 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/3.688, allocations: 171.4 kB / 1.578 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/3.689, allocations: 71.98 kB / 1.578 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/3.689, allocations: 4 kB / 1.578 GB, free: 19.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007207/3.696, allocations: 2.115 MB / 1.58 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/3.696, allocations: 12.06 kB / 1.58 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/3.697, allocations: 246.4 kB / 1.58 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/3.7, allocations: 463.3 kB / 1.581 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/3.706, allocations: 4.319 MB / 1.585 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/3.71, allocations: 159.5 kB / 1.585 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/3.71, allocations: 71.98 kB / 1.585 GB, free: 12.02 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 207 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007248/3.711, allocations: 145.3 kB / 1.585 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00549/3.717, allocations: 1.877 MB / 1.587 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007817/3.717, allocations: 193.6 kB / 1.587 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006092/3.723, allocations: 2.135 MB / 1.589 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/3.724, allocations: 16 kB / 1.589 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/3.724, allocations: 3.938 kB / 1.589 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004111/3.728, allocations: 1.966 MB / 1.591 GB, free: 5.566 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/3.74, allocations: 4.457 MB / 1.596 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/3.74, allocations: 4.062 kB / 1.596 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/3.744, allocations: 395.5 kB / 1.596 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008848/3.744, allocations: 226.6 kB / 1.596 GB, free: 432 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/3.745, allocations: 35.95 kB / 1.596 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4861/4.231, allocations: 4.141 MB / 1.6 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/4.231, allocations: 4.375 kB / 1.6 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/4.237, allocations: 3.211 MB / 1.603 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/4.239, allocations: 0.4901 MB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/4.239, allocations: 23 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/4.24, allocations: 146.7 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/4.241, allocations: 110.9 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/4.241, allocations: 56.16 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001593/4.242, allocations: 1.073 MB / 1.605 GB, free: 102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/4.242, allocations: 0 / 1.605 GB, free: 102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004034/4.246, allocations: 1.364 MB / 1.607 GB, free: 102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (pump.filter.s[1],pump.filter.s[2],embeddedPipe.vol[1].dynBal.U,firstOrder1.y,nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006528/4.253, allocations: 4.857 MB / 1.611 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004451/4.257, allocations: 3.566 MB / 1.615 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/4.258, allocations: 3.938 kB / 1.615 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/4.259, allocations: 1.166 MB / 1.616 GB, free: 100 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/4.262, allocations: 0.6413 MB / 1.617 GB, free: 100 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/4.273, allocations: 5.678 MB / 1.622 GB, free: 99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/4.275, allocations: 1.944 MB / 1.624 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003734/4.278, allocations: 1.126 MB / 1.625 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009906/4.28, allocations: 0.8628 MB / 1.626 GB, free: 98.22 MB / 0.6823 GB Notification: Performance of SimCode: time 1.303e-06/4.28, allocations: 3.938 kB / 1.626 GB, free: 98.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/4.434, allocations: 61.84 MB / 1.686 GB, free: 95.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/4.434, allocations: 170.3 kB / 1.686 GB, free: 95.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.786/9.22, allocations: 0 / 1.686 GB, free: 95.06 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)