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.006503/0.006503, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7632/0.7632, allocations: 135.2 MB / 151 MB, free: 13.86 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.555/1.555, allocations: 223.2 MB / 406.8 MB, free: 3.172 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.001145/0.001145, allocations: 98.19 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004092, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4111, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/1.207, allocations: 400 MB / 1.04 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.207, allocations: 99.12 kB / 1.04 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.861/3.068, allocations: 0.5145 GB / 1.555 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/3.068, allocations: 0 / 1.555 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004226/3.068, allocations: 59.98 kB / 1.555 GB, free: 21.48 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.01092/3.079, allocations: 3.246 MB / 1.558 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/3.079, allocations: 8.031 kB / 1.558 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/3.081, allocations: 265.6 kB / 1.558 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/3.084, allocations: 464.3 kB / 1.559 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/3.101, allocations: 5.638 MB / 1.564 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/3.101, allocations: 139.6 kB / 1.564 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007988/3.102, allocations: 207.9 kB / 1.564 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/3.108, allocations: 2.298 MB / 1.567 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/3.108, allocations: 11.84 kB / 1.567 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/3.108, allocations: 80 kB / 1.567 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/3.108, allocations: 63.5 kB / 1.567 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/3.113, allocations: 1.997 MB / 1.569 GB, free: 6.875 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.4679/3.58, allocations: 8.754 MB / 1.577 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007166/3.588, allocations: 2.516 MB / 1.58 GB, free: 91.8 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0103/3.598, allocations: 4.184 MB / 1.584 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/3.6, allocations: 1.092 MB / 1.585 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001173/3.601, allocations: 143.3 kB / 1.585 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=168): time 4.158e-06/3.601, allocations: 0 / 1.585 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168): time 0.007064/3.608, allocations: 3.272 MB / 1.588 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/3.608, allocations: 125.8 kB / 1.588 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/3.611, allocations: 1.546 MB / 1.59 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/3.611, allocations: 59.17 kB / 1.59 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/3.612, allocations: 0.9498 MB / 1.591 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/3.612, allocations: 0.5871 MB / 1.591 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/3.612, allocations: 37.95 kB / 1.591 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/3.612, allocations: 377.7 kB / 1.592 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/3.614, allocations: 0.8148 MB / 1.593 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/3.615, allocations: 1.198 MB / 1.594 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/3.617, allocations: 1.053 MB / 1.595 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/3.617, allocations: 6.344 kB / 1.595 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004901/3.622, allocations: 2.592 MB / 1.597 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008208/3.623, allocations: 3.116 MB / 1.6 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/3.623, allocations: 12.78 kB / 1.6 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/3.624, allocations: 269.5 kB / 1.601 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/3.625, allocations: 463.5 kB / 1.601 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/3.63, allocations: 4.544 MB / 1.606 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/3.633, allocations: 195.6 kB / 1.606 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/3.633, allocations: 77.03 kB / 1.606 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/3.633, allocations: 7.891 kB / 1.606 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004305/3.638, allocations: 2.371 MB / 1.608 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/3.638, allocations: 9.438 kB / 1.608 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007368/3.638, allocations: 272.7 kB / 1.608 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/3.64, allocations: 458.4 kB / 1.609 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/3.644, allocations: 4.552 MB / 1.613 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/3.646, allocations: 195.7 kB / 1.613 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/3.647, allocations: 71.98 kB / 1.614 GB, free: 77.88 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 () * Number of clocked 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.001842/3.648, allocations: 0.7528 MB / 1.614 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005777/3.649, allocations: 204.4 kB / 1.614 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/3.654, allocations: 2.376 MB / 1.617 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/3.654, allocations: 19.5 kB / 1.617 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/3.654, allocations: 3.953 kB / 1.617 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003393/3.657, allocations: 2.175 MB / 1.619 GB, free: 77.02 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009015/3.666, allocations: 4.831 MB / 1.624 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/3.666, allocations: 3.5 kB / 1.624 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/3.668, allocations: 397.5 kB / 1.624 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006561/3.668, allocations: 237.6 kB / 1.624 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/3.669, allocations: 57.62 kB / 1.624 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/3.672, allocations: 4.345 MB / 1.629 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/3.672, allocations: 2.156 kB / 1.629 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/3.678, allocations: 3.457 MB / 1.632 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/3.679, allocations: 0.4893 MB / 1.632 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/3.68, allocations: 44.06 kB / 1.632 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/3.681, allocations: 165 kB / 1.633 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/3.681, allocations: 109.8 kB / 1.633 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/3.682, allocations: 57.91 kB / 1.633 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001894/3.683, allocations: 1.213 MB / 1.634 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.653e-06/3.683, allocations: 0 / 1.634 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004462/3.688, allocations: 1.47 MB / 1.635 GB, free: 72.46 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) * Number of clocked states: 0 () * 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.007894/3.696, allocations: 5.151 MB / 1.64 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006936/3.703, allocations: 3.871 MB / 1.644 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/3.703, allocations: 3.156 kB / 1.644 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/3.705, allocations: 1.281 MB / 1.645 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/3.709, allocations: 0.7328 MB / 1.646 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/3.724, allocations: 14.13 MB / 1.66 GB, free: 61.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/3.725, allocations: 1.939 MB / 1.662 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003181/3.729, allocations: 0.8839 MB / 1.663 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/3.73, allocations: 0.8922 MB / 1.664 GB, free: 60.85 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/3.73, allocations: 0 / 1.664 GB, free: 60.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/3.838, allocations: 65.88 MB / 1.728 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/3.838, allocations: 253.3 kB / 1.728 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.406/8.244, allocations: 0 / 1.728 GB, free: 57.27 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)