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.01052/0.01052, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.266/1.266, allocations: 135.2 MB / 151 MB, free: 13.83 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.46/1.46, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009046/0.0009044, allocations: 101.5 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.371, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7241/1.095, allocations: 400 MB / 1.04 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.095, allocations: 99.31 kB / 1.04 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.76/2.855, allocations: 0.5144 GB / 1.555 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.417e-06/2.855, allocations: 8 kB / 1.555 GB, free: 21.67 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002659/2.856, allocations: 60.11 kB / 1.555 GB, free: 21.61 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.009525/2.865, allocations: 3.24 MB / 1.558 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/2.865, allocations: 8.031 kB / 1.558 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009271/2.866, allocations: 269.6 kB / 1.558 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/2.869, allocations: 464.3 kB / 1.559 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/2.885, allocations: 5.646 MB / 1.564 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/2.885, allocations: 143.6 kB / 1.564 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/2.886, allocations: 195.9 kB / 1.564 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/2.889, allocations: 2.301 MB / 1.567 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/2.889, allocations: 11.89 kB / 1.567 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/2.89, allocations: 80 kB / 1.567 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/2.89, allocations: 63.5 kB / 1.567 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/2.893, allocations: 1.997 MB / 1.569 GB, free: 7.004 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.4261/3.319, allocations: 8.758 MB / 1.577 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005779/3.325, allocations: 2.515 MB / 1.58 GB, free: 91.84 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.007956/3.333, allocations: 4.178 MB / 1.584 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/3.335, allocations: 1.087 MB / 1.585 GB, free: 90 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/3.336, allocations: 153.9 kB / 1.585 GB, free: 90 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=168): time 5.481e-06/3.336, allocations: 1.094 kB / 1.585 GB, free: 90 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168): time 0.007524/3.344, allocations: 3.272 MB / 1.588 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/3.344, allocations: 122.2 kB / 1.588 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/3.347, allocations: 1.55 MB / 1.59 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003144/3.347, allocations: 60.27 kB / 1.59 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/3.348, allocations: 0.9435 MB / 1.591 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005385/3.348, allocations: 0.5925 MB / 1.591 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/3.349, allocations: 33.94 kB / 1.591 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001109/3.349, allocations: 381.1 kB / 1.592 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/3.35, allocations: 0.822 MB / 1.593 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/3.351, allocations: 1.19 MB / 1.594 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/3.353, allocations: 1.057 MB / 1.595 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/3.353, allocations: 4.688 kB / 1.595 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004668/3.358, allocations: 2.588 MB / 1.597 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005858/3.358, allocations: 3.115 MB / 1.6 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/3.358, allocations: 11.06 kB / 1.6 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/3.359, allocations: 264.7 kB / 1.601 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/3.361, allocations: 468.2 kB / 1.601 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/3.365, allocations: 4.545 MB / 1.606 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/3.368, allocations: 195.3 kB / 1.606 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/3.368, allocations: 75.02 kB / 1.606 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/3.368, allocations: 12.39 kB / 1.606 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005085/3.374, allocations: 2.376 MB / 1.608 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/3.374, allocations: 6.594 kB / 1.608 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/3.374, allocations: 264.4 kB / 1.608 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/3.376, allocations: 464.5 kB / 1.609 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/3.38, allocations: 4.549 MB / 1.613 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/3.383, allocations: 194.2 kB / 1.613 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/3.383, allocations: 69.38 kB / 1.614 GB, free: 77.92 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.001904/3.385, allocations: 0.7599 MB / 1.614 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/3.386, allocations: 201.2 kB / 1.614 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/3.391, allocations: 2.383 MB / 1.617 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/3.391, allocations: 21.12 kB / 1.617 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/3.391, allocations: 3.953 kB / 1.617 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003852/3.395, allocations: 2.171 MB / 1.619 GB, free: 77.07 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.0118/3.407, allocations: 4.827 MB / 1.624 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/3.407, allocations: 3.906 kB / 1.624 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/3.409, allocations: 397 kB / 1.624 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/3.409, allocations: 240.5 kB / 1.624 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/3.41, allocations: 55.94 kB / 1.624 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/3.413, allocations: 4.349 MB / 1.629 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/3.413, allocations: 0 / 1.629 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007018/3.42, allocations: 3.46 MB / 1.632 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/3.422, allocations: 499.5 kB / 1.632 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007863/3.423, allocations: 48.5 kB / 1.632 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/3.425, allocations: 170.1 kB / 1.633 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/3.425, allocations: 112.1 kB / 1.633 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/3.426, allocations: 58.61 kB / 1.633 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002267/3.428, allocations: 1.21 MB / 1.634 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/3.428, allocations: 2.844 kB / 1.634 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006174/3.434, allocations: 1.459 MB / 1.635 GB, free: 72.51 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.009154/3.443, allocations: 5.148 MB / 1.64 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007414/3.451, allocations: 3.881 MB / 1.644 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/3.451, allocations: 0 / 1.644 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/3.453, allocations: 1.271 MB / 1.645 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/3.457, allocations: 0.728 MB / 1.646 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/3.474, allocations: 14.14 MB / 1.66 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002233/3.477, allocations: 1.936 MB / 1.662 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003822/3.481, allocations: 0.8816 MB / 1.663 GB, free: 60.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/3.482, allocations: 0.8977 MB / 1.664 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.824e-06/3.482, allocations: 0 / 1.664 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/3.588, allocations: 65.9 MB / 1.728 GB, free: 57.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.589, allocations: 244.2 kB / 1.728 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/7.934, allocations: 2.656 kB / 1.728 GB, free: 57.21 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)