Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001299/0.001299, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9627/0.9627, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 82.3 MB / 0.5874 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3643/0.5265, allocations: 66.54 MB / 0.6524 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.5488, allocations: 15.91 MB / 0.6679 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004396/0.5532, allocations: 77.09 kB / 0.668 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.5565, allocations: 0.6656 MB / 0.6686 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.5641, allocations: 1.934 MB / 0.6705 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006952/0.5711, allocations: 1.559 MB / 0.672 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01812/0.5892, allocations: 9.066 MB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.6005, allocations: 5.316 MB / 0.6861 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.6107, allocations: 2.701 MB / 0.6887 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00739/0.6182, allocations: 2.312 MB / 0.691 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.6193, allocations: 129.6 kB / 0.6911 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.6245, allocations: 1.012 MB / 0.6921 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.6258, allocations: 0.6075 MB / 0.6927 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.6281, allocations: 0.653 MB / 0.6933 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006169/0.6342, allocations: 3.499 MB / 0.6967 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6343, allocations: 0 / 0.6967 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6343, allocations: 0 / 0.6967 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001583/0.6344, allocations: 0 / 0.6967 GB, free: 5.383 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01086/0.6453, allocations: 3.871 MB / 0.7005 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6454, allocations: 8.625 kB / 0.7005 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/0.6491, allocations: 0.5761 MB / 0.7011 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.656, allocations: 2.456 MB / 0.7035 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.6562, allocations: 139.9 kB / 0.7036 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.6567, allocations: 195.5 kB / 0.7038 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/0.6615, allocations: 2.403 MB / 0.7061 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.6616, allocations: 7.5 kB / 0.7062 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.6617, allocations: 69.62 kB / 0.7062 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.6618, allocations: 48.8 kB / 0.7063 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.6661, allocations: 2.025 MB / 0.7082 GB, free: 13.95 MB / 0.5294 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.01769/0.6838, allocations: 12.16 MB / 0.7201 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.6868, allocations: 1.551 MB / 0.7216 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.6886, allocations: 1.094 MB / 0.7227 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008184/0.6968, allocations: 4.09 MB / 0.7267 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.6984, allocations: 0.8832 MB / 0.7276 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002304/0.7007, allocations: 458.6 kB / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 5.119e-06/0.7008, allocations: 0 / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.0155/0.7163, allocations: 5.203 MB / 0.7331 GB, free: 6.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.7164, allocations: 64.41 kB / 0.7331 GB, free: 6.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/0.7214, allocations: 3.012 MB / 0.7361 GB, free: 3.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003567/0.7218, allocations: 53.7 kB / 0.7361 GB, free: 3.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.7232, allocations: 1.434 MB / 0.7375 GB, free: 1.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.7236, allocations: 335.2 kB / 0.7378 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.7237, allocations: 32 kB / 0.7379 GB, free: 1.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7239, allocations: 357.9 kB / 0.7382 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.7253, allocations: 0.6987 MB / 0.7389 GB, free: 296 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.7274, allocations: 1.49 MB / 0.7404 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.7291, allocations: 0.9027 MB / 0.7412 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.7292, allocations: 4 kB / 0.7412 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007091/0.7363, allocations: 2.948 MB / 0.7441 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005368/0.7368, allocations: 0.5383 MB / 0.7446 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.7369, allocations: 16 kB / 0.7447 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.7396, allocations: 0.7818 MB / 0.7454 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.7409, allocations: 293.4 kB / 0.7457 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.7435, allocations: 2.185 MB / 0.7478 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.7471, allocations: 240.8 kB / 0.7481 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.7473, allocations: 75.97 kB / 0.7481 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7474, allocations: 4 kB / 0.7481 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004305/0.7517, allocations: 2.313 MB / 0.7504 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.7517, allocations: 12 kB / 0.7504 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.7531, allocations: 0.5838 MB / 0.751 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.7542, allocations: 285.8 kB / 0.7513 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/0.7625, allocations: 6.5 MB / 0.7576 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.766, allocations: 248.7 kB / 0.7578 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/0.7662, allocations: 71.97 kB / 0.7579 GB, free: 11.88 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.7683, allocations: 0.8279 MB / 0.7587 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000827/0.7691, allocations: 296.2 kB / 0.759 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.7741, allocations: 2.484 MB / 0.7614 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.7742, allocations: 8 kB / 0.7614 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7742, allocations: 3.984 kB / 0.7614 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003502/0.7777, allocations: 2.178 MB / 0.7636 GB, free: 5.984 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 postOpt removeSimpleEquations (simulation): time 0.008922/0.7866, allocations: 4.73 MB / 0.7682 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7866, allocations: 0 / 0.7682 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.7874, allocations: 149.7 kB / 0.7683 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.7886, allocations: 0.5517 MB / 0.7689 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.7886, allocations: 27.98 kB / 0.7689 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.7907, allocations: 2.092 MB / 0.7709 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7907, allocations: 3.953 kB / 0.7709 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006792/0.7975, allocations: 3.346 MB / 0.7742 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00299/0.8006, allocations: 0.5557 MB / 0.7747 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/0.8017, allocations: 23.94 kB / 0.7748 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/0.8038, allocations: 203.7 kB / 0.775 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.804, allocations: 72.84 kB / 0.775 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8041, allocations: 35.98 kB / 0.7751 GB, free: 10 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003347/0.8074, allocations: 2.06 MB / 0.7771 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8074, allocations: 0 / 0.7771 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004905/0.8124, allocations: 1.49 MB / 0.7785 GB, free: 6.461 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.8137, allocations: 438.9 kB / 0.779 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006046/0.8198, allocations: 3.248 MB / 0.7821 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8198, allocations: 0 / 0.7821 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.8213, allocations: 0.8268 MB / 0.7829 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008197/0.8296, allocations: 1.546 MB / 0.7844 GB, free: 404 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.84, allocations: 5.958 MB / 0.7903 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.8417, allocations: 2.041 MB / 0.7923 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003265/0.845, allocations: 0.6718 MB / 0.7929 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.8456, allocations: 199.4 kB / 0.7931 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/0.8456, allocations: 0 / 0.7931 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.1009/0.9466, allocations: 57.19 MB / 0.8489 GB, free: 14.87 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)