Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 110.8 kB / 16.42 MB, free: 6.492 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.001184/0.001184, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7178/0.7178, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 65.34 kB / 0.5864 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 80.93 MB / 0.6654 GB, free: 5.676 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 pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.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.Examples.FlowSystem.Simplified4): time 0.5806/0.7016, allocations: 355.6 MB / 1.013 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.4438/1.145, allocations: 72.82 MB / 1.084 GB, free: 36.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/1.158, allocations: 428.4 kB / 1.084 GB, free: 36.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01184/1.169, allocations: 5.356 MB / 1.089 GB, free: 36.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02944/1.199, allocations: 13.69 MB / 1.103 GB, free: 36.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01789/1.217, allocations: 9.403 MB / 1.112 GB, free: 36.04 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03199/1.249, allocations: 34.36 MB / 1.146 GB, free: 35.13 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01951/1.268, allocations: 18.4 MB / 1.164 GB, free: 29.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02548/1.294, allocations: 15.99 MB / 1.179 GB, free: 21.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01928/1.313, allocations: 14.55 MB / 1.193 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003101/1.316, allocations: 1.656 MB / 1.195 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/1.329, allocations: 5.671 MB / 1.2 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003983/1.333, allocations: 5.109 MB / 1.205 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01268/1.345, allocations: 9.362 MB / 1.215 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02836/1.374, allocations: 26.12 MB / 1.24 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.374, allocations: 0 / 1.24 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.374, allocations: 0 / 1.24 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004397/1.374, allocations: 4 kB / 1.24 GB, free: 10.16 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.03805/1.412, allocations: 19.84 MB / 1.259 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.412, allocations: 16.84 kB / 1.26 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007984/1.42, allocations: 2.233 MB / 1.262 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02409/1.444, allocations: 14.3 MB / 1.276 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/1.445, allocations: 0.5833 MB / 1.276 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/1.446, allocations: 0.7842 MB / 1.277 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/1.468, allocations: 14.91 MB / 1.292 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.468, allocations: 15.78 kB / 1.292 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/1.469, allocations: 293.5 kB / 1.292 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/1.469, allocations: 180 kB / 1.292 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02566/1.495, allocations: 19.3 MB / 1.311 GB, free: 1.742 MB / 0.92 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.09669/1.592, allocations: 76.42 MB / 1.385 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.606, allocations: 10.48 MB / 1.396 GB, free: 8.309 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01142/1.617, allocations: 9.059 MB / 1.405 GB, free: 15.24 MB / 1.029 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.5749/2.192, allocations: 31.46 MB / 1.435 GB, free: 486.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01077/2.203, allocations: 8.794 MB / 1.444 GB, free: 483.5 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01609/2.219, allocations: 5.676 MB / 1.449 GB, free: 482.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=417): time 1.266e-05/2.219, allocations: 2.531 kB / 1.449 GB, free: 482.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=601): time 0.7647/2.984, allocations: 184.5 MB / 1.63 GB, free: 320.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/2.984, allocations: 120.1 kB / 1.63 GB, free: 320.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01501/2.999, allocations: 13.43 MB / 1.643 GB, free: 307.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.002922/3.002, allocations: 177.7 kB / 1.643 GB, free: 307.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.004166/3.006, allocations: 6.511 MB / 1.649 GB, free: 300.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.003313/3.009, allocations: 2.038 MB / 1.651 GB, free: 298.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003704/3.013, allocations: 2.462 MB / 1.654 GB, free: 296.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/3.013, allocations: 305.1 kB / 1.654 GB, free: 296.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01362/3.027, allocations: 10.06 MB / 1.664 GB, free: 286 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01587/3.042, allocations: 12.45 MB / 1.676 GB, free: 272.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03182/3.074, allocations: 22.19 MB / 1.698 GB, free: 249.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-05/3.074, allocations: 16 kB / 1.698 GB, free: 249.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.5588/3.633, allocations: 112.5 MB / 1.808 GB, free: 136.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/3.633, allocations: 57.69 kB / 1.808 GB, free: 136.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.829e-05/3.633, allocations: 52 kB / 1.808 GB, free: 136.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8538/4.487, allocations: 117.9 MB / 1.923 GB, free: 449.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/4.498, allocations: 2.027 MB / 1.925 GB, free: 449.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1288/4.627, allocations: 81.52 MB / 2.004 GB, free: 425.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/4.64, allocations: 0.8194 MB / 2.005 GB, free: 425.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/4.642, allocations: 0.7794 MB / 2.006 GB, free: 425.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01683/4.658, allocations: 12.53 MB / 2.018 GB, free: 418.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01381/4.672, allocations: 12 MB / 2.03 GB, free: 410.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02654/4.699, allocations: 21.31 MB / 2.051 GB, free: 389.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.192e-05/4.699, allocations: 19.91 kB / 2.051 GB, free: 389.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=1025) (initialization_lambda0): time 0.5397/5.239, allocations: 111.1 MB / 2.159 GB, free: 279.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/5.239, allocations: 58.8 kB / 2.159 GB, free: 279.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/5.239, allocations: 52 kB / 2.159 GB, free: 279.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5668/5.806, allocations: 117.6 MB / 2.274 GB, free: 162 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008877/5.814, allocations: 2.01 MB / 2.276 GB, free: 160 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1299/5.944, allocations: 86.06 MB / 2.36 GB, free: 73.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/5.959, allocations: 0.8462 MB / 2.361 GB, free: 72.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/5.96, allocations: 0.7528 MB / 2.362 GB, free: 72.21 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 751 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003003/5.963, allocations: 0.6319 MB / 2.362 GB, free: 71.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003694/5.967, allocations: 1.293 MB / 2.364 GB, free: 70.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1831/6.15, allocations: 48.27 MB / 2.411 GB, free: 22.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4796/6.63, allocations: 42.67 MB / 2.452 GB, free: 442.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.193e-05/6.63, allocations: 0 / 2.452 GB, free: 442.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006659/6.637, allocations: 2.681 MB / 2.455 GB, free: 442.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/6.639, allocations: 120.2 kB / 2.455 GB, free: 442.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009003/6.648, allocations: 0.6717 MB / 2.456 GB, free: 442.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003954/6.652, allocations: 0.8913 MB / 2.457 GB, free: 442.4 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05135/6.703, allocations: 22.81 MB / 2.479 GB, free: 436 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03753/6.741, allocations: 25.52 MB / 2.504 GB, free: 426.9 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01074/6.751, allocations: 7.955 MB / 2.512 GB, free: 424 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.01003/6.761, allocations: 9.129 MB / 2.521 GB, free: 417.6 MB / 1.029 GB Notification: Performance of Backend: time 4e-07/6.761, allocations: 0 / 2.521 GB, free: 417.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.06234/6.824, allocations: 32.44 MB / 2.552 GB, free: 385.9 MB / 1.029 GB Notification: Performance of SimCode: time 0.04282/6.867, allocations: 31.86 MB / 2.583 GB, free: 354.3 MB / 1.029 GB Notification: Performance of Templates: time 0.729/7.596, allocations: 442 MB / 3.015 GB, free: 400.3 MB / 1.029 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)