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.001142/0.001142, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001628, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9684/0.9684, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 0.5082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1763, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.3356/0.512, allocations: 31.75 MB / 0.6196 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.5242, allocations: 10.4 MB / 0.6298 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.5258, allocations: 46.06 kB / 0.6298 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5277, allocations: 0.6428 MB / 0.6304 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.5316, allocations: 1.446 MB / 0.6319 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.5347, allocations: 1.262 MB / 0.6331 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005834/0.5406, allocations: 6.428 MB / 0.6394 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.5427, allocations: 1.738 MB / 0.6411 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.5457, allocations: 1.618 MB / 0.6426 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.5475, allocations: 1.334 MB / 0.644 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.5477, allocations: 64.12 kB / 0.644 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.5502, allocations: 1.08 MB / 0.6451 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.5505, allocations: 376.1 kB / 0.6454 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.5516, allocations: 0.9366 MB / 0.6463 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.5539, allocations: 2.157 MB / 0.6484 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5539, allocations: 0 / 0.6484 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5539, allocations: 0 / 0.6484 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.5539, allocations: 0 / 0.6484 GB, free: 22.26 MB / 0.4981 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.003115/0.557, allocations: 2.045 MB / 0.6504 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5571, allocations: 9.812 kB / 0.6505 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5582, allocations: 310.8 kB / 0.6507 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.5609, allocations: 1.64 MB / 0.6524 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.561, allocations: 86.64 kB / 0.6524 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.5612, allocations: 112.8 kB / 0.6525 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.5635, allocations: 1.298 MB / 0.6538 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.5636, allocations: 5.609 kB / 0.6538 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.5637, allocations: 42.09 kB / 0.6539 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5637, allocations: 24.41 kB / 0.6539 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.5658, allocations: 0.9983 MB / 0.6549 GB, free: 18.86 MB / 0.4981 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.007742/0.5735, allocations: 6.763 MB / 0.6615 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5749, allocations: 0.6088 MB / 0.6621 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.5756, allocations: 394.8 kB / 0.6624 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/0.5784, allocations: 1.695 MB / 0.6641 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/0.5792, allocations: 370.1 kB / 0.6644 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000681/0.5799, allocations: 103.2 kB / 0.6645 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/0.5799, allocations: 0 / 0.6645 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003413/0.5834, allocations: 1.33 MB / 0.6658 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.5834, allocations: 58.47 kB / 0.6659 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.5861, allocations: 1.784 MB / 0.6676 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/0.5862, allocations: 40.02 kB / 0.6677 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.5869, allocations: 0.8522 MB / 0.6685 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.587, allocations: 166.9 kB / 0.6687 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5871, allocations: 72.17 kB / 0.6687 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.5872, allocations: 340 kB / 0.6691 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.5879, allocations: 318.1 kB / 0.6694 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/0.5888, allocations: 0.7438 MB / 0.6701 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.5902, allocations: 0.9907 MB / 0.6711 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5902, allocations: 2.75 kB / 0.6711 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002678/0.5929, allocations: 1.303 MB / 0.6723 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.5931, allocations: 426.5 kB / 0.6727 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.5932, allocations: 11.41 kB / 0.6727 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.5938, allocations: 185.1 kB / 0.6729 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.5945, allocations: 176 kB / 0.6731 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005994/0.5951, allocations: 0.764 MB / 0.6738 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.5965, allocations: 89.03 kB / 0.6739 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.5966, allocations: 47.45 kB / 0.674 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.5966, allocations: 4.031 kB / 0.674 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/0.5985, allocations: 1.091 MB / 0.675 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5985, allocations: 10.3 kB / 0.675 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.5987, allocations: 121.6 kB / 0.6752 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.5993, allocations: 162.2 kB / 0.6753 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.6013, allocations: 2.134 MB / 0.6774 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6026, allocations: 84 kB / 0.6775 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.6027, allocations: 44.08 kB / 0.6775 GB, free: 3.961 MB / 0.4981 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 (85): * Single equations (assignments): 82 * 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.001146/0.6038, allocations: 0.5846 MB / 0.6781 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.6041, allocations: 180.8 kB / 0.6783 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.6062, allocations: 0.9853 MB / 0.6792 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.6062, allocations: 5.438 kB / 0.6792 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6062, allocations: 0 / 0.6792 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.6077, allocations: 0.961 MB / 0.6802 GB, free: 2.547 MB / 0.4981 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.003996/0.6117, allocations: 2.171 MB / 0.6823 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6117, allocations: 5.125 kB / 0.6823 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.6121, allocations: 83.36 kB / 0.6824 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/0.6124, allocations: 127.4 kB / 0.6825 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.6125, allocations: 20.39 kB / 0.6825 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004973/0.613, allocations: 0.7401 MB / 0.6832 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.613, allocations: 1.031 kB / 0.6832 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.6154, allocations: 1.367 MB / 0.6846 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.616, allocations: 325.8 kB / 0.6849 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6162, allocations: 7.25 kB / 0.6849 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.6169, allocations: 74.39 kB / 0.685 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.617, allocations: 39.84 kB / 0.685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.6171, allocations: 22.25 kB / 0.685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001958/0.619, allocations: 1.234 MB / 0.6862 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.063e-06/0.6191, allocations: 0 / 0.6862 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002521/0.6216, allocations: 0.7863 MB / 0.687 GB, free: 15.34 MB / 0.5137 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 (40): * Single equations (assignments): 34 * 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.0008769/0.6225, allocations: 385.8 kB / 0.6874 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.6253, allocations: 1.47 MB / 0.6888 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6253, allocations: 0 / 0.6888 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007122/0.6261, allocations: 335.7 kB / 0.6891 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.6295, allocations: 0.7286 MB / 0.6898 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.6348, allocations: 3.563 MB / 0.6933 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.6358, allocations: 1.485 MB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.6363, allocations: 130 kB / 0.6949 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.6363, allocations: 0 / 0.6949 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.04959/0.6859, allocations: 36.73 MB / 0.7308 GB, free: 9.016 MB / 0.545 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)