Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008602/0.008602, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002141/0.002141, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.88 kB / 0.5862 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3741, allocations: 81.01 MB / 0.6653 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.0324/0.4065, allocations: 32.73 MB / 0.6973 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.4226, allocations: 10.48 MB / 0.7075 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.4246, allocations: 48.94 kB / 0.7076 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.427, allocations: 0.7303 MB / 0.7083 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.4317, allocations: 1.571 MB / 0.7098 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.4356, allocations: 1.421 MB / 0.7112 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006659/0.4422, allocations: 4.865 MB / 0.716 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.4454, allocations: 2.07 MB / 0.718 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.4497, allocations: 1.906 MB / 0.7199 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.4523, allocations: 1.365 MB / 0.7212 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.4527, allocations: 140 kB / 0.7213 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.4558, allocations: 1.174 MB / 0.7225 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007393/0.4565, allocations: 470.2 kB / 0.7229 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4583, allocations: 1.007 MB / 0.7239 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.4632, allocations: 2.961 MB / 0.7268 GB, free: 1.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4632, allocations: 0 / 0.7268 GB, free: 1.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4632, allocations: 0 / 0.7268 GB, free: 1.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.256e-05/0.4633, allocations: 0 / 0.7268 GB, free: 1.84 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00487/0.4682, allocations: 2.446 MB / 0.7292 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4682, allocations: 11.97 kB / 0.7292 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.4694, allocations: 315.4 kB / 0.7295 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.4725, allocations: 1.703 MB / 0.7312 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.4725, allocations: 82 kB / 0.7312 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4727, allocations: 107.9 kB / 0.7313 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4749, allocations: 1.295 MB / 0.7326 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.475, allocations: 0 / 0.7326 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.4751, allocations: 44 kB / 0.7326 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.4751, allocations: 24 kB / 0.7327 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.4771, allocations: 0.9717 MB / 0.7336 GB, free: 10.66 MB / 0.5606 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.007826/0.4849, allocations: 6.518 MB / 0.74 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.4862, allocations: 0.5797 MB / 0.7406 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.487, allocations: 394.5 kB / 0.7409 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.4896, allocations: 1.689 MB / 0.7426 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008183/0.4905, allocations: 359.5 kB / 0.7429 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004654/0.4909, allocations: 83.48 kB / 0.743 GB, free: 488 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.4909, allocations: 0 / 0.743 GB, free: 488 kB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003635/0.4946, allocations: 1.322 MB / 0.7443 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4946, allocations: 63.41 kB / 0.7443 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.497, allocations: 1.789 MB / 0.7461 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.4971, allocations: 45.69 kB / 0.7461 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008113/0.4979, allocations: 0.863 MB / 0.747 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4981, allocations: 174.6 kB / 0.7471 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.4984, allocations: 194.4 kB / 0.7473 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4985, allocations: 334 kB / 0.7477 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/0.4992, allocations: 320.6 kB / 0.748 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5003, allocations: 0.7363 MB / 0.7487 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.5019, allocations: 0.9915 MB / 0.7496 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.5019, allocations: 7.938 kB / 0.7497 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002691/0.5046, allocations: 1.305 MB / 0.7509 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.5047, allocations: 37.7 kB / 0.751 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.5047, allocations: 12 kB / 0.751 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.5054, allocations: 185.2 kB / 0.7512 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.506, allocations: 175.7 kB / 0.7513 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007208/0.5068, allocations: 0.7669 MB / 0.7521 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.5077, allocations: 48.53 kB / 0.7521 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.5078, allocations: 51.97 kB / 0.7522 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/0.509, allocations: 0.7125 MB / 0.7529 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008999/0.5099, allocations: 0.7142 MB / 0.7536 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001388/0.5113, allocations: 0.9249 MB / 0.7545 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.187e-06/0.5113, allocations: 0 / 0.7545 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002314/0.5137, allocations: 1.273 MB / 0.7557 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.5137, allocations: 33.7 kB / 0.7557 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5137, allocations: 12 kB / 0.7557 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.514, allocations: 137.2 kB / 0.7559 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.5146, allocations: 163.7 kB / 0.756 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.5171, allocations: 2.314 MB / 0.7583 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/0.5179, allocations: 52.66 kB / 0.7583 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.518, allocations: 51.92 kB / 0.7584 GB, free: 15.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.5183, allocations: 240.6 kB / 0.7586 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.5186, allocations: 182.8 kB / 0.7588 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.5208, allocations: 1.006 MB / 0.7598 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5208, allocations: 7.984 kB / 0.7598 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.5208, allocations: 0 / 0.7598 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/0.5224, allocations: 0.9467 MB / 0.7607 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.5259, allocations: 2.093 MB / 0.7628 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5259, allocations: 0 / 0.7628 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.5264, allocations: 95.86 kB / 0.7628 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.5267, allocations: 116.8 kB / 0.763 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.5268, allocations: 15.98 kB / 0.763 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006355/0.5274, allocations: 0.738 MB / 0.7637 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5274, allocations: 0 / 0.7637 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.5299, allocations: 1.353 MB / 0.765 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.5304, allocations: 311.8 kB / 0.7653 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.5306, allocations: 12 kB / 0.7653 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.5312, allocations: 32.03 kB / 0.7654 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5313, allocations: 36.39 kB / 0.7654 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.5313, allocations: 27.97 kB / 0.7654 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001677/0.533, allocations: 1.239 MB / 0.7666 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.533, allocations: 0 / 0.7666 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002048/0.5351, allocations: 0.7876 MB / 0.7674 GB, free: 6.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009283/0.536, allocations: 391 kB / 0.7678 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.5388, allocations: 1.462 MB / 0.7692 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5389, allocations: 0 / 0.7692 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/0.5396, allocations: 334.5 kB / 0.7695 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.5427, allocations: 0.7857 MB / 0.7703 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.5474, allocations: 2.946 MB / 0.7732 GB, free: 212 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.5486, allocations: 1.487 MB / 0.7746 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001422/0.5501, allocations: 454 kB / 0.775 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.5504, allocations: 127.4 kB / 0.7752 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.5504, allocations: 0 / 0.7752 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.06035/0.6107, allocations: 31.7 MB / 0.8061 GB, free: 14.84 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)