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.001206/0.001206, allocations: 116.8 kB / 16.42 MB, free: 6.484 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.001149/0.001149, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.735/0.735, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 62.28 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.0578/0.1773, allocations: 72.29 MB / 0.7359 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2965/0.4739, allocations: 16.98 MB / 0.7525 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.4764, allocations: 93.22 kB / 0.7526 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.4788, allocations: 1.011 MB / 0.7536 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.484, allocations: 2.425 MB / 0.7559 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.4881, allocations: 2.075 MB / 0.758 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008962/0.4971, allocations: 8.052 MB / 0.7658 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006749/0.5038, allocations: 6.125 MB / 0.7718 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00651/0.5104, allocations: 3.349 MB / 0.7751 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.5144, allocations: 2.494 MB / 0.7775 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005421/0.515, allocations: 254.8 kB / 0.7778 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.5184, allocations: 1.372 MB / 0.7791 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.5191, allocations: 0.7709 MB / 0.7798 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.5213, allocations: 1.766 MB / 0.7816 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.5261, allocations: 4.757 MB / 0.7862 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.5261, allocations: 5.375 kB / 0.7862 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5261, allocations: 0 / 0.7862 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.338e-05/0.5262, allocations: 0 / 0.7862 GB, free: 8.109 MB / 0.5762 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.005744/0.532, allocations: 3.946 MB / 0.7901 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.532, allocations: 9.422 kB / 0.7901 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.5339, allocations: 0.5525 MB / 0.7906 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.538, allocations: 2.739 MB / 0.7933 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.5381, allocations: 139.5 kB / 0.7934 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.5383, allocations: 184.4 kB / 0.7936 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.5414, allocations: 2.326 MB / 0.7959 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.5414, allocations: 11.97 kB / 0.7959 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.5416, allocations: 65.28 kB / 0.796 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.5416, allocations: 44.81 kB / 0.796 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.5444, allocations: 1.864 MB / 0.7978 GB, free: 1.836 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.01163/0.5561, allocations: 11.08 MB / 0.8086 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.5585, allocations: 1.334 MB / 0.8099 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5599, allocations: 1.009 MB / 0.8109 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005408/0.5653, allocations: 3.641 MB / 0.8145 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.5667, allocations: 0.7702 MB / 0.8152 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009951/0.5677, allocations: 237 kB / 0.8155 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 5.049e-06/0.5677, allocations: 4 kB / 0.8155 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01069/0.5784, allocations: 4.16 MB / 0.8195 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5784, allocations: 68.41 kB / 0.8196 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.5818, allocations: 2.884 MB / 0.8224 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.5819, allocations: 53.7 kB / 0.8225 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.583, allocations: 1.416 MB / 0.8238 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5833, allocations: 340.3 kB / 0.8242 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.5838, allocations: 351.6 kB / 0.8245 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.5839, allocations: 305.1 kB / 0.8248 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5851, allocations: 0.677 MB / 0.8255 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.5867, allocations: 1.438 MB / 0.8269 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.5894, allocations: 1.905 MB / 0.8287 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5894, allocations: 4 kB / 0.8287 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005366/0.5948, allocations: 2.848 MB / 0.8315 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.5949, allocations: 39.42 kB / 0.8315 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.5949, allocations: 16.84 kB / 0.8316 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.5971, allocations: 0.691 MB / 0.8322 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.5982, allocations: 298.4 kB / 0.8325 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.5999, allocations: 1.891 MB / 0.8344 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.6016, allocations: 105 kB / 0.8345 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.6018, allocations: 83.95 kB / 0.8345 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002154/0.6039, allocations: 1.277 MB / 0.8358 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.6054, allocations: 1.387 MB / 0.8371 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002389/0.6078, allocations: 1.813 MB / 0.8389 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/0.6078, allocations: 8 kB / 0.8389 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004244/0.6121, allocations: 2.7 MB / 0.8416 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.6121, allocations: 37.7 kB / 0.8416 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6122, allocations: 16 kB / 0.8416 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008148/0.613, allocations: 477.6 kB / 0.8421 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.614, allocations: 299 kB / 0.8424 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.6202, allocations: 6.33 MB / 0.8485 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.622, allocations: 113.5 kB / 0.8486 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.6221, allocations: 79.97 kB / 0.8487 GB, free: 15.73 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (135): * Single equations (assignments): 131 * 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.0003957/0.6225, allocations: 286.2 kB / 0.849 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.6229, allocations: 303.9 kB / 0.8493 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.6272, allocations: 2.423 MB / 0.8516 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003088/0.6303, allocations: 2.058 MB / 0.8537 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6304, allocations: 0 / 0.8537 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009728/0.6313, allocations: 485 kB / 0.8541 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.6317, allocations: 24 kB / 0.8541 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.6327, allocations: 67.8 kB / 0.8542 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.6329, allocations: 124.7 kB / 0.8543 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004035/0.6369, allocations: 2.031 MB / 0.8563 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003889/0.6408, allocations: 2.563 MB / 0.8588 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001099/0.6419, allocations: 0.6911 MB / 0.8595 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002448/0.6444, allocations: 1.963 MB / 0.8614 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of Backend: time 3.01e-07/0.6444, allocations: 4 kB / 0.8614 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006179/0.6506, allocations: 3.085 MB / 0.8644 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of SimCode: time 0.009618/0.6602, allocations: 6.725 MB / 0.871 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of Templates: time 0.08472/0.745, allocations: 58.38 MB / 0.928 GB, free: 15.04 MB / 0.7169 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)