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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, 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.001293, allocations: 196.6 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9356/0.9356, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 69 kB / 0.5053 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 80.93 MB / 0.5844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3092/0.4717, allocations: 29.6 MB / 0.6133 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4829, allocations: 9.91 MB / 0.6229 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.4844, allocations: 43.81 kB / 0.623 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.486, allocations: 0.6816 MB / 0.6237 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.4901, allocations: 1.459 MB / 0.6251 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.4938, allocations: 1.37 MB / 0.6264 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.4976, allocations: 3.819 MB / 0.6301 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.4991, allocations: 1.362 MB / 0.6315 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.5017, allocations: 1.472 MB / 0.6329 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5027, allocations: 1.04 MB / 0.6339 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.5029, allocations: 124.1 kB / 0.634 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.505, allocations: 1.118 MB / 0.6351 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.5053, allocations: 398.8 kB / 0.6355 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006908/0.506, allocations: 0.7834 MB / 0.6363 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.5085, allocations: 2.422 MB / 0.6386 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5085, allocations: 0 / 0.6386 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5085, allocations: 2.938 kB / 0.6387 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.5086, allocations: 7.938 kB / 0.6387 GB, free: 25.24 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.002732/0.5113, allocations: 1.936 MB / 0.6405 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5113, allocations: 15.22 kB / 0.6406 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.5124, allocations: 247.5 kB / 0.6408 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.5143, allocations: 1.283 MB / 0.6421 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.5143, allocations: 73.28 kB / 0.6421 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5145, allocations: 88.89 kB / 0.6422 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.5159, allocations: 0.9733 MB / 0.6432 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5159, allocations: 7.875 kB / 0.6432 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.516, allocations: 31.88 kB / 0.6432 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.516, allocations: 22.31 kB / 0.6432 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.5173, allocations: 0.7027 MB / 0.6439 GB, free: 22.34 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.004732/0.522, allocations: 4.883 MB / 0.6487 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5232, allocations: 0.5509 MB / 0.6492 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.5239, allocations: 317.5 kB / 0.6495 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.5259, allocations: 1.581 MB / 0.6511 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006853/0.5266, allocations: 324.3 kB / 0.6514 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002661/0.5269, allocations: 51.58 kB / 0.6514 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.5269, allocations: 1.656 kB / 0.6514 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.003126/0.53, allocations: 1.164 MB / 0.6526 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.53, allocations: 60.72 kB / 0.6526 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5317, allocations: 1.285 MB / 0.6539 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.5318, allocations: 38.64 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.5322, allocations: 0.6427 MB / 0.6545 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.5324, allocations: 147.4 kB / 0.6547 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.5326, allocations: 157.9 kB / 0.6548 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.5327, allocations: 337.3 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.5333, allocations: 276.9 kB / 0.6554 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.534, allocations: 0.5837 MB / 0.656 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5353, allocations: 0.8114 MB / 0.6568 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5353, allocations: 3.719 kB / 0.6568 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002258/0.5376, allocations: 1.097 MB / 0.6578 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.5376, allocations: 35.89 kB / 0.6579 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.5376, allocations: 7.625 kB / 0.6579 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.5383, allocations: 195 kB / 0.6581 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.5389, allocations: 142.2 kB / 0.6582 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006814/0.5396, allocations: 0.7622 MB / 0.659 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/0.5404, allocations: 46.75 kB / 0.659 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.5405, allocations: 41.36 kB / 0.659 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008938/0.5414, allocations: 0.5531 MB / 0.6596 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000617/0.542, allocations: 0.5537 MB / 0.6601 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.543, allocations: 0.7503 MB / 0.6608 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/0.5431, allocations: 2.438 kB / 0.6609 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001871/0.5449, allocations: 1.064 MB / 0.6619 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.545, allocations: 36.36 kB / 0.6619 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.545, allocations: 6.844 kB / 0.6619 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.5452, allocations: 112 kB / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.5457, allocations: 130.6 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5477, allocations: 2.361 MB / 0.6645 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.5485, allocations: 47.67 kB / 0.6645 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.5486, allocations: 38.77 kB / 0.6646 GB, free: 8.82 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.0002507/0.5488, allocations: 229.2 kB / 0.6648 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.549, allocations: 126.9 kB / 0.6649 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.551, allocations: 0.8674 MB / 0.6657 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.551, allocations: 6 kB / 0.6657 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.551, allocations: 5.25 kB / 0.6657 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.5523, allocations: 0.8744 MB / 0.6666 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.5555, allocations: 1.79 MB / 0.6684 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5556, allocations: 1.5 kB / 0.6684 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.556, allocations: 77.53 kB / 0.6684 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.5562, allocations: 134.5 kB / 0.6686 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.5563, allocations: 11.69 kB / 0.6686 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005406/0.5568, allocations: 0.7507 MB / 0.6693 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5569, allocations: 1.922 kB / 0.6693 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.5591, allocations: 1.184 MB / 0.6705 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.5595, allocations: 256 kB / 0.6707 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5597, allocations: 11.3 kB / 0.6707 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.5603, allocations: 32.02 kB / 0.6707 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5605, allocations: 38.34 kB / 0.6708 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.5605, allocations: 26.03 kB / 0.6708 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001385/0.5619, allocations: 0.89 MB / 0.6717 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5619, allocations: 0 / 0.6717 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002201/0.5641, allocations: 0.654 MB / 0.6723 GB, free: 4.871 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.001031/0.5652, allocations: 366.1 kB / 0.6727 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003103/0.5683, allocations: 1.379 MB / 0.674 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5683, allocations: 4.938 kB / 0.674 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/0.5691, allocations: 331.8 kB / 0.6743 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.5721, allocations: 0.5896 MB / 0.6749 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.5765, allocations: 2.258 MB / 0.6771 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.5777, allocations: 1.273 MB / 0.6784 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00156/0.5793, allocations: 314.4 kB / 0.6787 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.5796, allocations: 100.4 kB / 0.6787 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.5797, allocations: 0 / 0.6787 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.04528/0.6249, allocations: 25.62 MB / 0.7038 GB, free: 1.492 MB / 0.5137 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)