Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108 kB / 15.61 MB, free: 152 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.001293/0.001292, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7065/0.7065, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.69 kB / 0.5018 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 80.21 MB / 0.5801 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3157/0.4592, allocations: 29.6 MB / 0.609 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.4713, allocations: 9.909 MB / 0.6187 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.4731, allocations: 49.69 kB / 0.6187 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.4749, allocations: 0.6837 MB / 0.6194 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.4783, allocations: 1.458 MB / 0.6208 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.4812, allocations: 1.372 MB / 0.6221 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003636/0.4848, allocations: 3.819 MB / 0.6259 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.4863, allocations: 1.354 MB / 0.6272 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.4891, allocations: 1.486 MB / 0.6286 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4902, allocations: 1.04 MB / 0.6297 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.4904, allocations: 123.6 kB / 0.6298 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4925, allocations: 1.121 MB / 0.6309 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.4928, allocations: 393.5 kB / 0.6313 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.4935, allocations: 0.7897 MB / 0.632 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.496, allocations: 2.421 MB / 0.6344 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4961, allocations: 0 / 0.6344 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4961, allocations: 0 / 0.6344 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.4961, allocations: 0 / 0.6344 GB, free: 29.5 MB / 0.4981 GB 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.002481/0.4986, allocations: 1.943 MB / 0.6363 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4986, allocations: 8.594 kB / 0.6363 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.4996, allocations: 252.8 kB / 0.6365 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.5014, allocations: 1.29 MB / 0.6378 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.5015, allocations: 69.38 kB / 0.6379 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5016, allocations: 87.34 kB / 0.6379 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5029, allocations: 0.9758 MB / 0.6389 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5029, allocations: 3.062 kB / 0.6389 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.503, allocations: 29.5 kB / 0.6389 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.503, allocations: 23.73 kB / 0.6389 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5042, allocations: 0.7096 MB / 0.6396 GB, free: 26.65 MB / 0.4981 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.004157/0.5084, allocations: 4.871 MB / 0.6444 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5094, allocations: 0.5497 MB / 0.6449 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.5099, allocations: 324 kB / 0.6452 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.5117, allocations: 1.578 MB / 0.6468 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.5124, allocations: 330.6 kB / 0.6471 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002136/0.5126, allocations: 46.41 kB / 0.6471 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.5126, allocations: 0 / 0.6471 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.002917/0.5156, allocations: 1.162 MB / 0.6483 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5156, allocations: 56.91 kB / 0.6483 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5173, allocations: 1.28 MB / 0.6496 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.5173, allocations: 50.94 kB / 0.6496 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.5178, allocations: 0.6491 MB / 0.6503 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5179, allocations: 145.8 kB / 0.6504 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.5182, allocations: 162.4 kB / 0.6506 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.5183, allocations: 333.7 kB / 0.6509 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.5189, allocations: 271.3 kB / 0.6511 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.5196, allocations: 0.5844 MB / 0.6517 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.5209, allocations: 0.8115 MB / 0.6525 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.5209, allocations: 2.25 kB / 0.6525 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002274/0.5232, allocations: 1.1 MB / 0.6536 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5232, allocations: 35.69 kB / 0.6536 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5232, allocations: 7.938 kB / 0.6536 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.5239, allocations: 189.8 kB / 0.6538 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.5244, allocations: 136.4 kB / 0.6539 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006423/0.5251, allocations: 0.7669 MB / 0.6547 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.5258, allocations: 50.67 kB / 0.6547 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.5259, allocations: 37.31 kB / 0.6548 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009367/0.5269, allocations: 0.5534 MB / 0.6553 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005943/0.5275, allocations: 0.5553 MB / 0.6558 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009555/0.5284, allocations: 0.7477 MB / 0.6566 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.5285, allocations: 2.5 kB / 0.6566 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00175/0.5302, allocations: 1.066 MB / 0.6576 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5302, allocations: 37.91 kB / 0.6577 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5303, allocations: 7.688 kB / 0.6577 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.5305, allocations: 105.7 kB / 0.6578 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.5309, allocations: 131.3 kB / 0.6579 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.5328, allocations: 2.368 MB / 0.6602 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.5335, allocations: 50.56 kB / 0.6602 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.5336, allocations: 32.81 kB / 0.6603 GB, free: 13.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (71): * Single equations (assignments): 68 * 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.0002388/0.5338, allocations: 236.2 kB / 0.6605 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.534, allocations: 128.2 kB / 0.6606 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.5358, allocations: 0.8701 MB / 0.6615 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5358, allocations: 6.078 kB / 0.6615 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5358, allocations: 3.938 kB / 0.6615 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.5371, allocations: 0.8791 MB / 0.6623 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.5399, allocations: 1.784 MB / 0.6641 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5399, allocations: 5.438 kB / 0.6641 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.5403, allocations: 74.78 kB / 0.6642 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.5405, allocations: 128.5 kB / 0.6643 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.5406, allocations: 16.69 kB / 0.6643 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005036/0.5411, allocations: 0.7469 MB / 0.665 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5411, allocations: 1.375 kB / 0.665 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.5431, allocations: 1.179 MB / 0.6662 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5435, allocations: 260.7 kB / 0.6664 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5436, allocations: 7.438 kB / 0.6664 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.5442, allocations: 35.45 kB / 0.6665 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.5443, allocations: 34.78 kB / 0.6665 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.5443, allocations: 26.42 kB / 0.6665 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001146/0.5455, allocations: 0.8851 MB / 0.6674 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.222e-06/0.5455, allocations: 4.062 kB / 0.6674 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001859/0.5474, allocations: 0.6538 MB / 0.668 GB, free: 9.27 MB / 0.4981 GB 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 (38): * Single equations (assignments): 32 * 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.0007775/0.5481, allocations: 369.2 kB / 0.6684 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.551, allocations: 1.375 MB / 0.6697 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.551, allocations: 1.219 kB / 0.6697 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.5518, allocations: 332 kB / 0.6701 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.5542, allocations: 0.5914 MB / 0.6706 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.5577, allocations: 2.257 MB / 0.6728 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/0.5586, allocations: 1.269 MB / 0.6741 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001173/0.5598, allocations: 315.7 kB / 0.6744 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.56, allocations: 103.2 kB / 0.6745 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.56, allocations: 3.938 kB / 0.6745 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.04154/0.6015, allocations: 25.61 MB / 0.6995 GB, free: 7.152 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)