Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.871/0.871, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 404.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 103.5 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 51.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 80.43 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02906/0.1734, allocations: 29.45 MB / 0.6709 GB, free: 7.914 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.1865, allocations: 9.991 MB / 0.6806 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1877, allocations: 43.75 kB / 0.6807 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.1895, allocations: 0.5989 MB / 0.6813 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.1926, allocations: 1.344 MB / 0.6826 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.1953, allocations: 1.234 MB / 0.6838 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.2004, allocations: 5.042 MB / 0.6887 GB, free: 5.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.202, allocations: 1.138 MB / 0.6898 GB, free: 4.453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.2042, allocations: 1.323 MB / 0.6911 GB, free: 3.125 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.2054, allocations: 1.046 MB / 0.6921 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2056, allocations: 64 kB / 0.6922 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.2076, allocations: 1.072 MB / 0.6933 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.208, allocations: 338.6 kB / 0.6936 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2811/0.4891, allocations: 0.7232 MB / 0.6943 GB, free: 18.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.4933, allocations: 2.363 MB / 0.6966 GB, free: 18.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4933, allocations: 0.8438 kB / 0.6966 GB, free: 18.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4934, allocations: 0 / 0.6966 GB, free: 18.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.4934, allocations: 0 / 0.6966 GB, free: 18.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003274/0.4967, allocations: 1.947 MB / 0.6985 GB, free: 17.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4967, allocations: 9.875 kB / 0.6985 GB, free: 17.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.4978, allocations: 250.7 kB / 0.6987 GB, free: 17.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.5002, allocations: 1.331 MB / 0.7 GB, free: 17.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.5003, allocations: 66.34 kB / 0.7001 GB, free: 17.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.5004, allocations: 87.12 kB / 0.7002 GB, free: 17.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5022, allocations: 0.9765 MB / 0.7011 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.5022, allocations: 4.594 kB / 0.7011 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.5023, allocations: 32.41 kB / 0.7012 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.5023, allocations: 19.7 kB / 0.7012 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.5039, allocations: 0.7156 MB / 0.7019 GB, free: 16.91 MB / 490.7 MB 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.005396/0.5093, allocations: 4.941 MB / 0.7067 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5107, allocations: 0.5623 MB / 0.7073 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/0.5114, allocations: 320.6 kB / 0.7076 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/0.5142, allocations: 1.582 MB / 0.7091 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009105/0.5151, allocations: 329.8 kB / 0.7094 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004336/0.5156, allocations: 98.61 kB / 0.7095 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.5156, allocations: 3.75 kB / 0.7095 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.003805/0.5194, allocations: 1.147 MB / 0.7106 GB, free: 12.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5195, allocations: 57.08 kB / 0.7107 GB, free: 12.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.5214, allocations: 1.268 MB / 0.7119 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.5215, allocations: 40.61 kB / 0.712 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.522, allocations: 0.6492 MB / 0.7126 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.5222, allocations: 149.7 kB / 0.7128 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.5225, allocations: 160.9 kB / 0.7129 GB, free: 12.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.5226, allocations: 336.7 kB / 0.7132 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.5232, allocations: 262.2 kB / 0.7135 GB, free: 11.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.524, allocations: 0.5932 MB / 0.7141 GB, free: 11.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.5254, allocations: 0.804 MB / 0.7148 GB, free: 11.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.5254, allocations: 5.281 kB / 0.7149 GB, free: 11.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002207/0.5276, allocations: 1.087 MB / 0.7159 GB, free: 10.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.5277, allocations: 40.45 kB / 0.716 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.5277, allocations: 10.66 kB / 0.716 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.5284, allocations: 187.7 kB / 0.7161 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.5289, allocations: 146.4 kB / 0.7163 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005897/0.5295, allocations: 0.7619 MB / 0.717 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.5303, allocations: 77.7 kB / 0.7171 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.5304, allocations: 38.75 kB / 0.7171 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007777/0.5312, allocations: 0.5534 MB / 0.7177 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006038/0.5318, allocations: 0.5486 MB / 0.7182 GB, free: 9.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001013/0.5328, allocations: 0.7405 MB / 0.7189 GB, free: 9.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.143e-06/0.5328, allocations: 6.562 kB / 0.7189 GB, free: 9.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001639/0.5345, allocations: 1.052 MB / 0.72 GB, free: 9.203 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5345, allocations: 38.02 kB / 0.72 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5345, allocations: 10.3 kB / 0.72 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.5347, allocations: 102.4 kB / 0.7201 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.5352, allocations: 135.8 kB / 0.7202 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.537, allocations: 2.154 MB / 0.7223 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.5377, allocations: 78.91 kB / 0.7224 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.5378, allocations: 31.72 kB / 0.7224 GB, free: 7.742 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.538, allocations: 234.6 kB / 0.7227 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.5381, allocations: 131.9 kB / 0.7228 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.5398, allocations: 0.8486 MB / 0.7236 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5399, allocations: 10.66 kB / 0.7236 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5399, allocations: 3.969 kB / 0.7236 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.5412, allocations: 0.8589 MB / 0.7245 GB, free: 6.992 MB / 490.7 MB 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.003/0.5442, allocations: 1.846 MB / 0.7263 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5442, allocations: 6.594 kB / 0.7263 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.5446, allocations: 76.69 kB / 0.7264 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.545, allocations: 125.1 kB / 0.7265 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.545, allocations: 15.22 kB / 0.7265 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.5456, allocations: 0.7482 MB / 0.7272 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5456, allocations: 6.562 kB / 0.7272 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/0.5625, allocations: 9.207 MB / 0.7362 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.563, allocations: 254 kB / 0.7365 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.5632, allocations: 8.531 kB / 0.7365 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.5639, allocations: 56.7 kB / 0.7365 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.564, allocations: 34.47 kB / 0.7366 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.5641, allocations: 24.95 kB / 0.7366 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.5653, allocations: 0.8745 MB / 0.7374 GB, free: 200 kB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5653, allocations: 3.938 kB / 0.7374 GB, free: 196 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.004113/0.5694, allocations: 1.099 MB / 0.7385 GB, free: 4 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/0.571, allocations: 446.7 kB / 0.7389 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.5738, allocations: 1.301 MB / 0.7402 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5738, allocations: 0 / 0.7402 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.5746, allocations: 330.8 kB / 0.7405 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.5773, allocations: 0.5643 MB / 0.7411 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.5825, allocations: 3.261 MB / 0.7443 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.5835, allocations: 1.299 MB / 0.7455 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001444/0.585, allocations: 330.8 kB / 0.7458 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.5853, allocations: 109.4 kB / 0.746 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.5853, allocations: 0 / 0.746 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.04927/0.6346, allocations: 29.04 MB / 0.7743 GB, free: 15.73 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)