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.001252/0.001251, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001242/0.001242, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7245/0.7245, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 70.98 kB / 0.5862 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 80.91 MB / 0.6652 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02808/0.1558, allocations: 32.74 MB / 0.6972 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.169, allocations: 10.48 MB / 0.7074 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.1706, allocations: 51.75 kB / 0.7075 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1726, allocations: 0.7224 MB / 0.7082 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.1766, allocations: 1.57 MB / 0.7097 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.1796, allocations: 1.412 MB / 0.7111 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004867/0.1845, allocations: 4.879 MB / 0.7159 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.1869, allocations: 2.074 MB / 0.7179 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.191, allocations: 1.905 MB / 0.7198 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.1932, allocations: 1.361 MB / 0.7211 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.1935, allocations: 140 kB / 0.7212 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.1959, allocations: 1.174 MB / 0.7224 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.1964, allocations: 462.3 kB / 0.7228 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.1977, allocations: 1.014 MB / 0.7238 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.202, allocations: 2.929 MB / 0.7267 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2021, allocations: 0 / 0.7267 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2021, allocations: 0 / 0.7267 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.2021, allocations: 3.938 kB / 0.7267 GB, free: 6.688 MB / 0.5606 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.003572/0.2057, allocations: 2.38 MB / 0.729 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2058, allocations: 13.11 kB / 0.729 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2068, allocations: 302.2 kB / 0.7293 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2095, allocations: 1.694 MB / 0.7309 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.2095, allocations: 82 kB / 0.731 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2097, allocations: 104 kB / 0.7311 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.2116, allocations: 1.28 MB / 0.7324 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.2116, allocations: 15.92 kB / 0.7324 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/0.2117, allocations: 36 kB / 0.7324 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.2118, allocations: 24 kB / 0.7324 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.2135, allocations: 0.9757 MB / 0.7334 GB, free: 15.59 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 preOpt removeSimpleEquations (simulation): time 0.00658/0.2201, allocations: 6.494 MB / 0.7397 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.2213, allocations: 0.5787 MB / 0.7403 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.2219, allocations: 401.6 kB / 0.7407 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.2242, allocations: 1.692 MB / 0.7423 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006643/0.2249, allocations: 355.5 kB / 0.7427 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004324/0.2253, allocations: 87.23 kB / 0.7428 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.2253, allocations: 0 / 0.7428 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.0031/0.2284, allocations: 1.32 MB / 0.744 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2285, allocations: 59.41 kB / 0.7441 GB, free: 4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.2305, allocations: 1.793 MB / 0.7458 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.2306, allocations: 37.7 kB / 0.7459 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006495/0.2312, allocations: 0.8501 MB / 0.7467 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2313, allocations: 161.7 kB / 0.7469 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.2316, allocations: 186.5 kB / 0.747 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2317, allocations: 337.9 kB / 0.7474 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.2323, allocations: 320.6 kB / 0.7477 GB, free: 268 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2874/0.5198, allocations: 0.7389 MB / 0.7484 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5214, allocations: 0.9888 MB / 0.7494 GB, free: 77.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5215, allocations: 3.406 kB / 0.7494 GB, free: 77.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002658/0.5241, allocations: 1.299 MB / 0.7506 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.5242, allocations: 41.11 kB / 0.7507 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5242, allocations: 10.75 kB / 0.7507 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.5248, allocations: 189.7 kB / 0.7509 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.5254, allocations: 169.4 kB / 0.751 GB, free: 77.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/0.526, allocations: 0.7537 MB / 0.7518 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/0.5269, allocations: 51.52 kB / 0.7518 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.527, allocations: 48.94 kB / 0.7519 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001052/0.528, allocations: 0.7146 MB / 0.7526 GB, free: 76.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006119/0.5287, allocations: 0.7092 MB / 0.7532 GB, free: 76.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.5298, allocations: 0.9238 MB / 0.7542 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.5298, allocations: 3.25 kB / 0.7542 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002076/0.5319, allocations: 1.272 MB / 0.7554 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.5319, allocations: 40.14 kB / 0.7554 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.5319, allocations: 9.906 kB / 0.7554 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.5322, allocations: 121.9 kB / 0.7556 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.5327, allocations: 168.6 kB / 0.7557 GB, free: 74.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.5347, allocations: 2.309 MB / 0.758 GB, free: 73.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.5355, allocations: 56.73 kB / 0.758 GB, free: 73.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.5356, allocations: 48.41 kB / 0.7581 GB, free: 73.09 MB / 0.5762 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.0002506/0.5358, allocations: 242.1 kB / 0.7583 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.5361, allocations: 175 kB / 0.7585 GB, free: 72.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.5382, allocations: 1 MB / 0.7595 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.5383, allocations: 6.031 kB / 0.7595 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.5383, allocations: 0 / 0.7595 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.5397, allocations: 0.946 MB / 0.7604 GB, free: 71.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.5431, allocations: 2.111 MB / 0.7624 GB, free: 70.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5431, allocations: 0 / 0.7624 GB, free: 70.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.5436, allocations: 87.23 kB / 0.7625 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.5438, allocations: 121.3 kB / 0.7626 GB, free: 70.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.5439, allocations: 17.53 kB / 0.7627 GB, free: 70.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004544/0.5444, allocations: 0.7435 MB / 0.7634 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5444, allocations: 1.438 kB / 0.7634 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5466, allocations: 1.341 MB / 0.7647 GB, free: 69.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.5471, allocations: 301.2 kB / 0.765 GB, free: 69.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.5472, allocations: 11.5 kB / 0.765 GB, free: 69.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.5478, allocations: 37.69 kB / 0.765 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5479, allocations: 37.12 kB / 0.7651 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.548, allocations: 24.19 kB / 0.7651 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001607/0.5496, allocations: 1.242 MB / 0.7663 GB, free: 68.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5496, allocations: 0 / 0.7663 GB, free: 68.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002013/0.5516, allocations: 0.7872 MB / 0.7671 GB, free: 68.88 MB / 0.5762 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.0008163/0.5524, allocations: 380.9 kB / 0.7674 GB, free: 68.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.555, allocations: 1.471 MB / 0.7689 GB, free: 68.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.555, allocations: 4.062 kB / 0.7689 GB, free: 68.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.5556, allocations: 334.9 kB / 0.7692 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.5584, allocations: 0.773 MB / 0.7699 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.5623, allocations: 2.918 MB / 0.7728 GB, free: 66.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.5631, allocations: 1.48 MB / 0.7742 GB, free: 65.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.5634, allocations: 131.5 kB / 0.7744 GB, free: 65.61 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.5634, allocations: 0 / 0.7744 GB, free: 65.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.03538/0.5988, allocations: 37.27 MB / 0.8108 GB, free: 34.7 MB / 0.5762 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)