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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 107 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 188.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7734/0.7734, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 62.66 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1507, allocations: 80.92 MB / 0.6653 GB, free: 5.895 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp): time 0.0414/0.1922, allocations: 45.87 MB / 0.7101 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.2113, allocations: 14.75 MB / 0.7245 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.2139, allocations: 83.56 kB / 0.7246 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.2171, allocations: 1.052 MB / 0.7256 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.2231, allocations: 2.386 MB / 0.7279 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.2278, allocations: 2.024 MB / 0.7299 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006567/0.2343, allocations: 5.904 MB / 0.7357 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.2378, allocations: 2.803 MB / 0.7384 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.2421, allocations: 2.348 MB / 0.7407 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.2449, allocations: 1.817 MB / 0.7425 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007981/0.2457, allocations: 304 kB / 0.7428 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.2498, allocations: 1.977 MB / 0.7447 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.2508, allocations: 0.7632 MB / 0.7454 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.2533, allocations: 1.536 MB / 0.7469 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3419/0.5952, allocations: 4.966 MB / 0.7518 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5953, allocations: 0.6094 kB / 0.7518 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5953, allocations: 0 / 0.7518 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001031/0.5954, allocations: 1.438 kB / 0.7518 GB, free: 17.07 MB / 0.5762 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.007227/0.6026, allocations: 3.34 MB / 0.7551 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6027, allocations: 12.89 kB / 0.7551 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.6048, allocations: 476 kB / 0.7555 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.6094, allocations: 2.115 MB / 0.7576 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.6096, allocations: 140.3 kB / 0.7577 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.6099, allocations: 194.1 kB / 0.7579 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/0.6149, allocations: 2.416 MB / 0.7603 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.615, allocations: 17.41 kB / 0.7603 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.6152, allocations: 74.94 kB / 0.7604 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.6154, allocations: 64.52 kB / 0.7604 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.6197, allocations: 2.132 MB / 0.7625 GB, free: 14.73 MB / 0.5762 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.01271/0.6325, allocations: 9.251 MB / 0.7715 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.6369, allocations: 2.563 MB / 0.774 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.6387, allocations: 1.235 MB / 0.7752 GB, free: 11.3 MB / 0.5762 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.005781/0.6445, allocations: 4.188 MB / 0.7793 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.6463, allocations: 1.101 MB / 0.7804 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 3.506e-06/0.6463, allocations: 0.9844 kB / 0.7804 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=163): time 0.005694/0.652, allocations: 3.007 MB / 0.7833 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6521, allocations: 119.8 kB / 0.7835 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6547, allocations: 1.769 MB / 0.7852 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.6549, allocations: 56.27 kB / 0.7852 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.6556, allocations: 0.9428 MB / 0.7862 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.6561, allocations: 0.5733 MB / 0.7867 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.6565, allocations: 334.2 kB / 0.787 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.6566, allocations: 308.1 kB / 0.7873 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.658, allocations: 0.8702 MB / 0.7882 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.6597, allocations: 1.214 MB / 0.7894 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/0.6629, allocations: 2.163 MB / 0.7915 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6629, allocations: 4 kB / 0.7915 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004985/0.6679, allocations: 2.563 MB / 0.794 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.668, allocations: 37.36 kB / 0.794 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.668, allocations: 13.94 kB / 0.794 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.6684, allocations: 141.5 kB / 0.7942 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.67, allocations: 478.8 kB / 0.7946 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.6726, allocations: 4.029 MB / 0.7986 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.6747, allocations: 239.7 kB / 0.7988 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.6748, allocations: 71.02 kB / 0.7989 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002257/0.6771, allocations: 1.418 MB / 0.8002 GB, free: 248 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001525/0.6786, allocations: 1.196 MB / 0.8014 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002912/0.6815, allocations: 2.12 MB / 0.8035 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.6815, allocations: 0 / 0.8035 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.004223/0.6858, allocations: 2.513 MB / 0.8059 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.6858, allocations: 34.52 kB / 0.806 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6858, allocations: 9.094 kB / 0.806 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.6862, allocations: 148.3 kB / 0.8061 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6877, allocations: 474.4 kB / 0.8066 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.6908, allocations: 4.019 MB / 0.8105 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.6928, allocations: 219.1 kB / 0.8107 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.693, allocations: 70.3 kB / 0.8108 GB, free: 8.809 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004715/0.6935, allocations: 284.7 kB / 0.811 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.6938, allocations: 205.8 kB / 0.8112 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.6978, allocations: 2.286 MB / 0.8135 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003094/0.7009, allocations: 2.093 MB / 0.8155 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.7009, allocations: 0.625 kB / 0.8155 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.702, allocations: 0.5019 MB / 0.816 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.7023, allocations: 51.97 kB / 0.8161 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.7036, allocations: 103.9 kB / 0.8162 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.7038, allocations: 117.8 kB / 0.8163 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005162/0.709, allocations: 2.737 MB / 0.8189 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005252/0.7143, allocations: 3.676 MB / 0.8225 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001489/0.7158, allocations: 1.003 MB / 0.8235 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001754/0.7175, allocations: 1.236 MB / 0.8247 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Backend: time 3.81e-07/0.7176, allocations: 0 / 0.8247 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007311/0.7249, allocations: 3.7 MB / 0.8283 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of SimCode: time 0.008807/0.7337, allocations: 6.092 MB / 0.8343 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.07441/0.8081, allocations: 51.24 MB / 0.8843 GB, free: 15.7 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)