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.001756/0.001755, allocations: 108.6 kB / 15.73 MB, free: 72 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.001998/0.001998, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 67.91 kB / 0.5862 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4418, allocations: 81.01 MB / 0.6653 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.07427/0.5161, allocations: 72.29 MB / 0.7359 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02693/0.5431, allocations: 17 MB / 0.7525 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.5474, allocations: 91.44 kB / 0.7526 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003735/0.5512, allocations: 1.013 MB / 0.7536 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007937/0.5592, allocations: 2.354 MB / 0.7559 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006101/0.5653, allocations: 2.066 MB / 0.7579 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01209/0.5774, allocations: 8.048 MB / 0.7658 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009971/0.5874, allocations: 6.109 MB / 0.7718 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008486/0.596, allocations: 3.292 MB / 0.775 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.6014, allocations: 2.489 MB / 0.7774 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.6028, allocations: 252 kB / 0.7776 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004771/0.6076, allocations: 1.381 MB / 0.779 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.6094, allocations: 0.751 MB / 0.7797 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0045/0.6139, allocations: 1.772 MB / 0.7815 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.6241, allocations: 4.777 MB / 0.7861 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6241, allocations: 0 / 0.7861 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.797e-06/0.6241, allocations: 0 / 0.7861 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001943/0.6243, allocations: 3.938 kB / 0.7861 GB, free: 4.902 MB / 0.6075 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.009964/0.6343, allocations: 4.064 MB / 0.7901 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6343, allocations: 8.031 kB / 0.7901 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.6378, allocations: 0.5638 MB / 0.7907 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008972/0.6468, allocations: 2.775 MB / 0.7934 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.6471, allocations: 135.1 kB / 0.7935 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.6478, allocations: 195.9 kB / 0.7937 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/0.6536, allocations: 2.326 MB / 0.796 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.6537, allocations: 15.81 kB / 0.796 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.654, allocations: 68 kB / 0.796 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.6541, allocations: 47.98 kB / 0.7961 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004263/0.6583, allocations: 1.861 MB / 0.7979 GB, free: 8.539 MB / 0.6231 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.01838/0.6768, allocations: 11.09 MB / 0.8087 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.6799, allocations: 1.331 MB / 0.81 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.6817, allocations: 1.01 MB / 0.811 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.6892, allocations: 3.647 MB / 0.8146 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.6908, allocations: 0.7702 MB / 0.8153 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001383/0.6922, allocations: 231.2 kB / 0.8155 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 6.342e-06/0.6923, allocations: 0 / 0.8155 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.01262/0.7049, allocations: 4.177 MB / 0.8196 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.705, allocations: 64.34 kB / 0.8197 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005315/0.7103, allocations: 2.884 MB / 0.8225 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002685/0.7106, allocations: 57.7 kB / 0.8226 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.7123, allocations: 1.451 MB / 0.824 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.7128, allocations: 349 kB / 0.8243 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007027/0.7135, allocations: 355.8 kB / 0.8246 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7136, allocations: 305.1 kB / 0.8249 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.7151, allocations: 0.6848 MB / 0.8256 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.7172, allocations: 1.425 MB / 0.827 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.7206, allocations: 1.911 MB / 0.8289 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.7206, allocations: 4 kB / 0.8289 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006518/0.7271, allocations: 2.86 MB / 0.8317 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.7272, allocations: 37.7 kB / 0.8317 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/0.7273, allocations: 16 kB / 0.8317 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.7297, allocations: 0.6924 MB / 0.8324 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7309, allocations: 289.2 kB / 0.8327 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.7329, allocations: 1.909 MB / 0.8345 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.7349, allocations: 96.88 kB / 0.8346 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.7351, allocations: 92.08 kB / 0.8347 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002329/0.7375, allocations: 1.273 MB / 0.836 GB, free: 28 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001812/0.7393, allocations: 1.384 MB / 0.8373 GB, free: 14.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002816/0.7421, allocations: 1.824 MB / 0.8391 GB, free: 12.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/0.7422, allocations: 7.938 kB / 0.8391 GB, free: 12.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005239/0.7474, allocations: 2.695 MB / 0.8417 GB, free: 9.504 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.7475, allocations: 53.59 kB / 0.8418 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.7475, allocations: 16 kB / 0.8418 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/0.7484, allocations: 477.2 kB / 0.8422 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7496, allocations: 289.1 kB / 0.8425 GB, free: 8.676 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/0.7571, allocations: 6.324 MB / 0.8487 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.7593, allocations: 125.4 kB / 0.8488 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.7595, allocations: 79.95 kB / 0.8489 GB, free: 1.867 MB / 0.67 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.0005104/0.76, allocations: 283.8 kB / 0.8492 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/0.7606, allocations: 310 kB / 0.8495 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.7657, allocations: 2.419 MB / 0.8518 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.7657, allocations: 19.98 kB / 0.8518 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7657, allocations: 4 kB / 0.8518 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00353/0.7693, allocations: 2.059 MB / 0.8539 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00836/0.7776, allocations: 4.376 MB / 0.8581 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.7777, allocations: 4 kB / 0.8581 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/0.7785, allocations: 169.7 kB / 0.8583 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.7796, allocations: 477 kB / 0.8587 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.7797, allocations: 35.91 kB / 0.8588 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.7816, allocations: 1.858 MB / 0.8606 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7816, allocations: 0 / 0.8606 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/0.788, allocations: 3.136 MB / 0.8637 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.7895, allocations: 0.491 MB / 0.8641 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.7898, allocations: 20 kB / 0.8642 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.7909, allocations: 67.91 kB / 0.8642 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.7911, allocations: 88.75 kB / 0.8643 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7912, allocations: 39.98 kB / 0.8643 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.39/1.181, allocations: 1.965 MB / 0.8663 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.21e-07/1.181, allocations: 0 / 0.8663 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004716/1.186, allocations: 1.356 MB / 0.8676 GB, free: 182.4 MB / 0.6856 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 (79): * Single equations (assignments): 71 * 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.001128/1.187, allocations: 474.4 kB / 0.868 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00667/1.194, allocations: 3.182 MB / 0.8711 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.194, allocations: 0.75 kB / 0.8712 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.196, allocations: 0.793 MB / 0.8719 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005936/1.202, allocations: 1.25 MB / 0.8731 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/1.21, allocations: 5.239 MB / 0.8783 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.212, allocations: 2.061 MB / 0.8803 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002626/1.215, allocations: 0.6761 MB / 0.8809 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/1.215, allocations: 209.2 kB / 0.8811 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/1.215, allocations: 1.75 kB / 0.8811 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.07759/1.293, allocations: 54.92 MB / 0.9348 GB, free: 135.4 MB / 0.6856 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)