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.001072/0.001072, allocations: 99.58 kB / 16.02 MB, free: 76 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.001252/0.001252, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 8.875 kB / 0.5082 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 82.32 MB / 0.5886 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.4415/0.6305, allocations: 70.45 MB / 0.6574 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.6565, allocations: 16.89 MB / 0.6739 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00494/0.6615, allocations: 83.34 kB / 0.674 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.6653, allocations: 0.8521 MB / 0.6748 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008922/0.6743, allocations: 2.184 MB / 0.677 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007057/0.6813, allocations: 1.857 MB / 0.6788 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0182/0.6996, allocations: 10.59 MB / 0.6891 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.711, allocations: 5.574 MB / 0.6946 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009454/0.7205, allocations: 2.788 MB / 0.6973 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007028/0.7276, allocations: 2.415 MB / 0.6996 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.729, allocations: 123.9 kB / 0.6998 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006941/0.736, allocations: 1.228 MB / 0.701 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.7387, allocations: 0.6097 MB / 0.7015 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007052/0.7458, allocations: 1.615 MB / 0.7031 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.7531, allocations: 3.474 MB / 0.7065 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7532, allocations: 1.156 kB / 0.7065 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7532, allocations: 3.938 kB / 0.7065 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002397/0.7534, allocations: 0 / 0.7065 GB, free: 14.89 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.01285/0.7663, allocations: 3.814 MB / 0.7102 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7663, allocations: 9.375 kB / 0.7103 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.77, allocations: 0.5723 MB / 0.7108 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/0.7788, allocations: 2.645 MB / 0.7134 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.7791, allocations: 140.4 kB / 0.7135 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009003/0.78, allocations: 181.6 kB / 0.7137 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006408/0.7865, allocations: 2.327 MB / 0.716 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/0.7865, allocations: 10.33 kB / 0.716 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.7869, allocations: 67.69 kB / 0.7161 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.787, allocations: 45.75 kB / 0.7161 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.7915, allocations: 1.9 MB / 0.718 GB, free: 7.41 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.01914/0.8106, allocations: 11.68 MB / 0.7294 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.8138, allocations: 1.364 MB / 0.7307 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.8155, allocations: 1.021 MB / 0.7317 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007405/0.823, allocations: 3.765 MB / 0.7354 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.8246, allocations: 0.7819 MB / 0.7361 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002199/0.8268, allocations: 450.6 kB / 0.7366 GB, free: 3.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 6.733e-06/0.8268, allocations: 4 kB / 0.7366 GB, free: 3.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01312/0.8399, allocations: 4.196 MB / 0.7407 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.8401, allocations: 72.39 kB / 0.7407 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007281/0.8474, allocations: 2.856 MB / 0.7435 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.8478, allocations: 61.64 kB / 0.7436 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.8497, allocations: 1.414 MB / 0.745 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006259/0.8504, allocations: 339.2 kB / 0.7453 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/0.8508, allocations: 129.6 kB / 0.7454 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.851, allocations: 301.1 kB / 0.7457 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.8527, allocations: 0.6753 MB / 0.7463 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.8549, allocations: 1.403 MB / 0.7477 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.8583, allocations: 1.889 MB / 0.7496 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.8584, allocations: 4 kB / 0.7496 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006815/0.8652, allocations: 2.824 MB / 0.7523 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.8657, allocations: 0.5337 MB / 0.7528 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.8657, allocations: 16 kB / 0.7529 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.8682, allocations: 0.6882 MB / 0.7535 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.8695, allocations: 297.9 kB / 0.7538 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.8714, allocations: 1.896 MB / 0.7557 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.8742, allocations: 184.8 kB / 0.7558 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.8744, allocations: 79.95 kB / 0.7559 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8745, allocations: 4 kB / 0.7559 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004327/0.8788, allocations: 2.362 MB / 0.7582 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.8788, allocations: 16 kB / 0.7582 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009533/0.8798, allocations: 470 kB / 0.7587 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.8809, allocations: 281.4 kB / 0.759 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.888, allocations: 5.868 MB / 0.7647 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.8907, allocations: 168.8 kB / 0.7649 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.891, allocations: 75.97 kB / 0.7649 GB, free: 5.324 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.001941/0.893, allocations: 0.8325 MB / 0.7657 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008656/0.8938, allocations: 292.4 kB / 0.766 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/0.899, allocations: 2.301 MB / 0.7683 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.8991, allocations: 15.94 kB / 0.7683 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8991, allocations: 0 / 0.7683 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003355/0.9024, allocations: 2.01 MB / 0.7702 GB, free: 15.77 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.009589/0.912, allocations: 4.355 MB / 0.7745 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.9121, allocations: 0 / 0.7745 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.9129, allocations: 153.7 kB / 0.7746 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.914, allocations: 477 kB / 0.7751 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.9141, allocations: 27.92 kB / 0.7751 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.9158, allocations: 1.862 MB / 0.7769 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9158, allocations: 4.031 kB / 0.7769 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.9215, allocations: 3.072 MB / 0.7799 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.9233, allocations: 0.5011 MB / 0.7804 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009187/0.9242, allocations: 16 kB / 0.7805 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.9263, allocations: 155.7 kB / 0.7806 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.9265, allocations: 60.91 kB / 0.7807 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.9267, allocations: 47.91 kB / 0.7807 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004178/0.9309, allocations: 1.951 MB / 0.7826 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.7e-07/0.9309, allocations: 0 / 0.7826 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006383/0.9373, allocations: 1.361 MB / 0.7839 GB, free: 1.547 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 (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.001603/0.9389, allocations: 434.7 kB / 0.7844 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006718/0.9456, allocations: 3.138 MB / 0.7874 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.9457, allocations: 0 / 0.7874 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.9474, allocations: 0.7655 MB / 0.7882 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007659/0.955, allocations: 1.181 MB / 0.7893 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.9672, allocations: 6.155 MB / 0.7953 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/0.9698, allocations: 2.033 MB / 0.7973 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008484/0.9706, allocations: 199.3 kB / 0.7975 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of SimCode: time 1.673e-06/0.9707, allocations: 0 / 0.7975 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.4479/1.419, allocations: 73.49 MB / 0.8693 GB, free: 208.2 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)