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.001236/0.001236, allocations: 174.7 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.7327/0.7327, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.442/1.442, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008946/0.0008946, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.292e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.455, allocations: 399.9 MB / 1.031 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.456, allocations: 89.03 kB / 1.031 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.037/3.493, allocations: 0.5126 GB / 1.544 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/3.493, allocations: 3.219 kB / 1.544 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002509/3.493, allocations: 59.22 kB / 1.544 GB, free: 98.93 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.006016/3.499, allocations: 2.54 MB / 1.546 GB, free: 97.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/3.499, allocations: 18.92 kB / 1.546 GB, free: 97.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003931/3.5, allocations: 265.1 kB / 1.547 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/3.502, allocations: 463.8 kB / 1.547 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/3.518, allocations: 5.582 MB / 1.552 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/3.518, allocations: 138.1 kB / 1.553 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/3.519, allocations: 199.3 kB / 1.553 GB, free: 97.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/3.523, allocations: 2.234 MB / 1.555 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/3.523, allocations: 9.062 kB / 1.555 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/3.523, allocations: 80.66 kB / 1.555 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/3.523, allocations: 62.56 kB / 1.555 GB, free: 97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/3.526, allocations: 1.886 MB / 1.557 GB, free: 96.99 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.01313/3.539, allocations: 8.756 MB / 1.565 GB, free: 94.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/3.543, allocations: 2.412 MB / 1.568 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/3.544, allocations: 1.162 MB / 1.569 GB, free: 94.07 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 evalFunc (simulation): time 0.006135/3.55, allocations: 4.194 MB / 1.573 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/3.552, allocations: 1.036 MB / 1.574 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009731/3.553, allocations: 150.2 kB / 1.574 GB, free: 92.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=168): time 4.018e-06/3.553, allocations: 0 / 1.574 GB, free: 92.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168): time 0.003283/3.556, allocations: 1.952 MB / 1.576 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/3.556, allocations: 125.4 kB / 1.576 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/3.558, allocations: 1.524 MB / 1.578 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/3.558, allocations: 67.17 kB / 1.578 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009373/3.559, allocations: 0.9368 MB / 1.579 GB, free: 91.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/3.56, allocations: 0.5962 MB / 1.579 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/3.56, allocations: 40.25 kB / 1.579 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001341/3.56, allocations: 378.3 kB / 1.58 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/3.561, allocations: 0.7678 MB / 1.58 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/3.562, allocations: 1.132 MB / 1.582 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/3.564, allocations: 1.01 MB / 1.583 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/3.564, allocations: 3.625 kB / 1.583 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004032/3.568, allocations: 2.491 MB / 1.585 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005694/3.568, allocations: 3.105 MB / 1.588 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/3.568, allocations: 9.875 kB / 1.588 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/3.569, allocations: 265.2 kB / 1.588 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/3.571, allocations: 469.2 kB / 1.589 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/3.574, allocations: 4.474 MB / 1.593 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/3.577, allocations: 199.9 kB / 1.593 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/3.577, allocations: 80.8 kB / 1.593 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/3.577, allocations: 3.938 kB / 1.593 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003691/3.58, allocations: 2.27 MB / 1.596 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/3.581, allocations: 7.5 kB / 1.596 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/3.581, allocations: 263.7 kB / 1.596 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/3.583, allocations: 457.2 kB / 1.596 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/3.586, allocations: 4.485 MB / 1.601 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/3.589, allocations: 199.2 kB / 1.601 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/3.589, allocations: 70.89 kB / 1.601 GB, free: 79.95 MB / 0.6823 GB 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 (211): * Single equations (assignments): 206 * 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.000532/3.589, allocations: 206.6 kB / 1.601 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/3.59, allocations: 198 kB / 1.601 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/3.594, allocations: 2.283 MB / 1.604 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/3.594, allocations: 19.52 kB / 1.604 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.594, allocations: 3.062 kB / 1.604 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/3.597, allocations: 2.08 MB / 1.606 GB, free: 79.17 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.008052/3.605, allocations: 4.713 MB / 1.61 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/3.605, allocations: 0 / 1.61 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/3.607, allocations: 398.3 kB / 1.611 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006011/3.607, allocations: 229.1 kB / 1.611 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/3.607, allocations: 52.69 kB / 1.611 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/3.61, allocations: 4.281 MB / 1.615 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/3.61, allocations: 0 / 1.615 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/3.615, allocations: 3.306 MB / 1.618 GB, free: 74.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/3.617, allocations: 0.4977 MB / 1.619 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/3.617, allocations: 48.67 kB / 1.619 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/3.619, allocations: 160 kB / 1.619 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/3.619, allocations: 115.9 kB / 1.619 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/3.619, allocations: 57.78 kB / 1.619 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001745/3.621, allocations: 1.195 MB / 1.62 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/3.621, allocations: 3.062 kB / 1.62 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004597/3.625, allocations: 1.455 MB / 1.622 GB, free: 74.43 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 (160): * Single equations (assignments): 152 * 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.006846/3.632, allocations: 4.993 MB / 1.627 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005895/3.638, allocations: 3.772 MB / 1.63 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/3.638, allocations: 3.062 kB / 1.63 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/3.64, allocations: 1.217 MB / 1.631 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/3.644, allocations: 0.7347 MB / 1.632 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/3.655, allocations: 5.855 MB / 1.638 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/3.656, allocations: 1.933 MB / 1.64 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003771/3.66, allocations: 1.136 MB / 1.641 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/3.661, allocations: 0.874 MB / 1.642 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/3.661, allocations: 0 / 1.642 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/3.776, allocations: 70.49 MB / 1.711 GB, free: 43.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/3.776, allocations: 215.4 kB / 1.711 GB, free: 43.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.867/8.643, allocations: 11.72 kB / 1.711 GB, free: 43.75 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)