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.006616/0.006616, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001448/0.001448, allocations: 197 kB / 16.79 MB, free: 5.816 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.449/1.449, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9824/0.9824, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 72.03 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.167, allocations: 80.91 MB / 0.5843 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3627/0.5297, allocations: 71.82 MB / 0.6545 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.5526, allocations: 17.1 MB / 0.6712 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.5568, allocations: 86.72 kB / 0.6713 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.5604, allocations: 0.858 MB / 0.6721 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007664/0.5682, allocations: 2.183 MB / 0.6742 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.5742, allocations: 1.859 MB / 0.676 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0145/0.5887, allocations: 10.59 MB / 0.6864 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009187/0.5979, allocations: 5.637 MB / 0.6919 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008486/0.6064, allocations: 2.874 MB / 0.6947 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006326/0.6128, allocations: 2.51 MB / 0.6971 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.6139, allocations: 158.1 kB / 0.6973 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.6189, allocations: 1.263 MB / 0.6985 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.6202, allocations: 0.6648 MB / 0.6992 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004001/0.6242, allocations: 1.648 MB / 0.7008 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.6297, allocations: 3.555 MB / 0.7043 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.6297, allocations: 5.188 kB / 0.7043 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6297, allocations: 3.938 kB / 0.7043 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001348/0.6299, allocations: 4 kB / 0.7043 GB, free: 14.39 MB / 0.5294 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.009073/0.6389, allocations: 3.945 MB / 0.7081 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.639, allocations: 9.562 kB / 0.7081 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.6415, allocations: 0.5455 MB / 0.7087 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/0.6473, allocations: 2.651 MB / 0.7113 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.6475, allocations: 137.9 kB / 0.7114 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.6478, allocations: 187.2 kB / 0.7116 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.6516, allocations: 2.316 MB / 0.7138 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.6517, allocations: 6.844 kB / 0.7138 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.6519, allocations: 69.03 kB / 0.7139 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.6519, allocations: 39.16 kB / 0.7139 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.6553, allocations: 1.876 MB / 0.7158 GB, free: 6.602 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.01462/0.6699, allocations: 11.22 MB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.6726, allocations: 1.34 MB / 0.728 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.6741, allocations: 1.005 MB / 0.729 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006548/0.6807, allocations: 3.64 MB / 0.7326 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/0.6821, allocations: 0.7741 MB / 0.7333 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001709/0.6839, allocations: 286.8 kB / 0.7336 GB, free: 3.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 3.457e-06/0.6839, allocations: 0 / 0.7336 GB, free: 3.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01158/0.6955, allocations: 4.131 MB / 0.7376 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.6956, allocations: 64.41 kB / 0.7377 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.6997, allocations: 2.856 MB / 0.7405 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.7, allocations: 53.7 kB / 0.7405 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.7012, allocations: 1.429 MB / 0.7419 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.7016, allocations: 335.2 kB / 0.7423 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.7021, allocations: 335.7 kB / 0.7426 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.7022, allocations: 301.1 kB / 0.7429 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.7035, allocations: 0.6692 MB / 0.7435 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.7053, allocations: 1.403 MB / 0.7449 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.7081, allocations: 1.862 MB / 0.7467 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.7082, allocations: 4 kB / 0.7467 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006118/0.7143, allocations: 2.796 MB / 0.7494 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.7144, allocations: 49.58 kB / 0.7495 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.7144, allocations: 12 kB / 0.7495 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.7169, allocations: 0.689 MB / 0.7502 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7181, allocations: 285.9 kB / 0.7504 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.72, allocations: 1.9 MB / 0.7523 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.7228, allocations: 176.7 kB / 0.7525 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.7231, allocations: 79.91 kB / 0.7525 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002731/0.7258, allocations: 1.261 MB / 0.7538 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.7276, allocations: 1.358 MB / 0.7551 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002654/0.7302, allocations: 1.778 MB / 0.7568 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.59e-05/0.7303, allocations: 4 kB / 0.7568 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005134/0.7354, allocations: 2.63 MB / 0.7594 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.7355, allocations: 41.69 kB / 0.7594 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.7355, allocations: 19.94 kB / 0.7595 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009552/0.7365, allocations: 470 kB / 0.7599 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.7376, allocations: 277.4 kB / 0.7602 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/0.7444, allocations: 5.857 MB / 0.7659 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.7471, allocations: 189.3 kB / 0.7661 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.7474, allocations: 71.97 kB / 0.7661 GB, free: 0.5078 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006146/0.748, allocations: 276.3 kB / 0.7664 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/0.7489, allocations: 292.5 kB / 0.7667 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.7539, allocations: 2.281 MB / 0.7689 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.7539, allocations: 11.98 kB / 0.7689 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.754, allocations: 4 kB / 0.7689 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003271/0.7572, allocations: 1.995 MB / 0.7709 GB, free: 11.55 MB / 0.5919 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.009362/0.7666, allocations: 4.34 MB / 0.7751 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7666, allocations: 0 / 0.7751 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.7674, allocations: 141.6 kB / 0.7753 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.7685, allocations: 485 kB / 0.7757 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/0.7686, allocations: 23.98 kB / 0.7757 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.7703, allocations: 1.862 MB / 0.7776 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7703, allocations: 0 / 0.7776 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/0.7759, allocations: 3.029 MB / 0.7805 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.7775, allocations: 477.2 kB / 0.781 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008747/0.7784, allocations: 16 kB / 0.781 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.7804, allocations: 139.8 kB / 0.7811 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.7806, allocations: 72.84 kB / 0.7812 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7808, allocations: 39.98 kB / 0.7812 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003894/0.7847, allocations: 1.951 MB / 0.7831 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7847, allocations: 0 / 0.7831 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005875/0.7906, allocations: 1.361 MB / 0.7845 GB, free: 13.45 MB / 0.6075 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/0.7921, allocations: 453 kB / 0.7849 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0062/0.7983, allocations: 3.096 MB / 0.7879 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7983, allocations: 0 / 0.7879 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.7999, allocations: 0.7529 MB / 0.7886 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006742/0.8066, allocations: 1.181 MB / 0.7898 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.8174, allocations: 6.091 MB / 0.7958 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.8197, allocations: 2.025 MB / 0.7977 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/0.8205, allocations: 203.3 kB / 0.7979 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of SimCode: time 3.446e-06/0.8205, allocations: 0 / 0.7979 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.3954/1.216, allocations: 73.97 MB / 0.8702 GB, free: 211.8 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)