Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,fileNamePrefix="IDEAS_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.001507/0.001506, allocations: 173.9 kB / 7.648 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.909/0.909, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008733/0.0008733, allocations: 97.02 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.125e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4504, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8677/1.318, allocations: 399.2 MB / 1.024 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.318, allocations: 93.75 kB / 1.024 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.97/3.289, allocations: 0.5093 GB / 1.533 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/3.289, allocations: 4 kB / 1.533 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003873/3.289, allocations: 58.58 kB / 1.533 GB, free: 66.79 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.007775/3.297, allocations: 2.536 MB / 1.536 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/3.297, allocations: 15.97 kB / 1.536 GB, free: 64.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/3.3, allocations: 464.3 kB / 1.536 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/3.317, allocations: 5.579 MB / 1.542 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/3.317, allocations: 56 kB / 1.542 GB, free: 58.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008036/3.318, allocations: 123.9 kB / 1.542 GB, free: 58.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004387/3.322, allocations: 1.791 MB / 1.544 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/3.327, allocations: 1.958 MB / 1.545 GB, free: 54.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.96e-05/3.327, allocations: 15.89 kB / 1.545 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/3.327, allocations: 4 kB / 1.545 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.921e-05/3.327, allocations: 67.5 kB / 1.546 GB, free: 54.13 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.01332/3.34, allocations: 8.62 MB / 1.554 GB, free: 45.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/3.344, allocations: 2.346 MB / 1.556 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/3.345, allocations: 1.115 MB / 1.557 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/3.345, allocations: 1.007 MB / 1.558 GB, free: 40.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/3.347, allocations: 0.9874 MB / 1.559 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001014/3.348, allocations: 98.8 kB / 1.559 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=169): time 4.809e-06/3.348, allocations: 0 / 1.559 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=169): time 0.003533/3.351, allocations: 1.908 MB / 1.561 GB, free: 37.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/3.351, allocations: 120.8 kB / 1.561 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/3.354, allocations: 1.392 MB / 1.563 GB, free: 35.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/3.354, allocations: 29.7 kB / 1.563 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009453/3.355, allocations: 0.9402 MB / 1.564 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/3.355, allocations: 0.5734 MB / 1.564 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/3.356, allocations: 4 kB / 1.564 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001181/3.356, allocations: 381.9 kB / 1.565 GB, free: 33.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/3.357, allocations: 0.7418 MB / 1.565 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/3.358, allocations: 1.105 MB / 1.566 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/3.36, allocations: 1.019 MB / 1.567 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/3.36, allocations: 0 / 1.567 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004222/3.364, allocations: 2.329 MB / 1.57 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009215/3.365, allocations: 3.098 MB / 1.573 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/3.365, allocations: 8 kB / 1.573 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007808/3.366, allocations: 258.3 kB / 1.573 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/3.368, allocations: 459.4 kB / 1.573 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/3.371, allocations: 4.315 MB / 1.578 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/3.374, allocations: 163.4 kB / 1.578 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/3.374, allocations: 75.98 kB / 1.578 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/3.374, allocations: 4 kB / 1.578 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00439/3.378, allocations: 2.11 MB / 1.58 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/3.378, allocations: 16.28 kB / 1.58 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/3.379, allocations: 250.4 kB / 1.58 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/3.381, allocations: 463.3 kB / 1.581 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/3.384, allocations: 4.323 MB / 1.585 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/3.386, allocations: 155.5 kB / 1.585 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/3.386, allocations: 79.97 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.000517/3.387, allocations: 137.2 kB / 1.585 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003493/3.39, allocations: 1.873 MB / 1.587 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/3.391, allocations: 197.6 kB / 1.587 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/3.395, allocations: 2.147 MB / 1.589 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/3.395, allocations: 16 kB / 1.589 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/3.395, allocations: 4 kB / 1.589 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/3.397, allocations: 1.962 MB / 1.591 GB, free: 5.562 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.008466/3.406, allocations: 4.461 MB / 1.596 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/3.406, allocations: 0 / 1.596 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/3.407, allocations: 403.5 kB / 1.596 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/3.408, allocations: 218.4 kB / 1.596 GB, free: 428 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/3.408, allocations: 27.97 kB / 1.596 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.477/3.885, allocations: 4.138 MB / 1.6 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/3.885, allocations: 10.34 kB / 1.6 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/3.893, allocations: 3.208 MB / 1.603 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/3.895, allocations: 0.4902 MB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/3.895, allocations: 23.73 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/3.897, allocations: 143 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/3.897, allocations: 110.4 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/3.897, allocations: 60.12 kB / 1.604 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001565/3.899, allocations: 1.072 MB / 1.605 GB, free: 102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/3.899, allocations: 0 / 1.605 GB, free: 102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003851/3.902, allocations: 1.366 MB / 1.607 GB, free: 101.9 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.006985/3.909, allocations: 4.855 MB / 1.611 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004401/3.914, allocations: 3.561 MB / 1.615 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/3.914, allocations: 2.25 kB / 1.615 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/3.915, allocations: 1.17 MB / 1.616 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/3.918, allocations: 0.6508 MB / 1.617 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/3.929, allocations: 5.686 MB / 1.622 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/3.931, allocations: 1.934 MB / 1.624 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003667/3.934, allocations: 1.127 MB / 1.625 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009979/3.935, allocations: 0.8624 MB / 1.626 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/3.935, allocations: 4.656 kB / 1.626 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0917/4.027, allocations: 61.83 MB / 1.686 GB, free: 95.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/4.027, allocations: 160.8 kB / 1.686 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.346/8.373, allocations: 0 / 1.686 GB, free: 95.04 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)