Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008464/0.0008463, allocations: 92.95 kB / 16.02 MB, free: 84 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.00119/0.001189, allocations: 183 kB / 16.92 MB, free: 6.934 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6953/0.6953, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 12 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 77.53 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.2954/0.4371, allocations: 29.08 MB / 0.5883 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.4524, allocations: 11.71 MB / 0.5998 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.4538, allocations: 41.12 kB / 0.5998 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008052/0.4619, allocations: 3.768 MB / 0.6035 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.4662, allocations: 1.416 MB / 0.6049 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.4698, allocations: 1.258 MB / 0.6061 GB, free: 8.711 MB / 446.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.009968/0.4798, allocations: 7.991 MB / 0.6139 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.4815, allocations: 1.152 MB / 0.615 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.4838, allocations: 1.236 MB / 0.6162 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.4851, allocations: 1.076 MB / 0.6173 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.4853, allocations: 57.06 kB / 0.6174 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.488, allocations: 1.266 MB / 0.6186 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.4884, allocations: 458.1 kB / 0.619 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000806/0.4892, allocations: 0.8859 MB / 0.6199 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.4922, allocations: 2.896 MB / 0.6227 GB, free: 1.535 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4923, allocations: 2.562 kB / 0.6227 GB, free: 1.535 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4923, allocations: 0 / 0.6227 GB, free: 1.535 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.4923, allocations: 0 / 0.6227 GB, free: 1.535 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002766/0.4951, allocations: 2.03 MB / 0.6247 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4951, allocations: 7.875 kB / 0.6247 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.4968, allocations: 388.6 kB / 0.6251 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.5004, allocations: 2.339 MB / 0.6274 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.5005, allocations: 65.8 kB / 0.6274 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5006, allocations: 86.56 kB / 0.6275 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.5024, allocations: 1.016 MB / 0.6285 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5024, allocations: 0 / 0.6285 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.5025, allocations: 43.14 kB / 0.6285 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5026, allocations: 20.75 kB / 0.6286 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.5042, allocations: 0.7748 MB / 0.6293 GB, free: 13.16 MB / 462.1 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.006057/0.5103, allocations: 5.353 MB / 0.6345 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.5117, allocations: 0.592 MB / 0.6351 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/0.5125, allocations: 333.4 kB / 0.6354 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/0.5148, allocations: 1.644 MB / 0.6371 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007643/0.5156, allocations: 331.8 kB / 0.6374 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000459/0.5161, allocations: 119.2 kB / 0.6375 GB, free: 5.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.5161, allocations: 0 / 0.6375 GB, free: 5.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.003351/0.5194, allocations: 1.245 MB / 0.6387 GB, free: 3.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5195, allocations: 55.41 kB / 0.6387 GB, free: 3.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.5218, allocations: 1.842 MB / 0.6405 GB, free: 2.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.5219, allocations: 41.7 kB / 0.6406 GB, free: 1.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006853/0.5226, allocations: 0.7905 MB / 0.6414 GB, free: 1.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.5227, allocations: 157.3 kB / 0.6415 GB, free: 1.043 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.5229, allocations: 132.8 kB / 0.6416 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.523, allocations: 353.9 kB / 0.642 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/0.5239, allocations: 454 kB / 0.6424 GB, free: 116 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5251, allocations: 0.8358 MB / 0.6432 GB, free: 15.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.5269, allocations: 1.177 MB / 0.6444 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5269, allocations: 8 kB / 0.6444 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002909/0.5298, allocations: 1.586 MB / 0.6459 GB, free: 12.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.5301, allocations: 394.2 kB / 0.6463 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5301, allocations: 8 kB / 0.6463 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.5308, allocations: 187.8 kB / 0.6465 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.5315, allocations: 199.7 kB / 0.6467 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007457/0.5323, allocations: 0.7823 MB / 0.6474 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5334, allocations: 92.78 kB / 0.6475 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.5335, allocations: 51.92 kB / 0.6476 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.5335, allocations: 4 kB / 0.6476 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002284/0.5358, allocations: 1.423 MB / 0.649 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5358, allocations: 11.94 kB / 0.649 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.536, allocations: 109.3 kB / 0.6491 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.5366, allocations: 195.7 kB / 0.6493 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.5387, allocations: 2.171 MB / 0.6514 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.5396, allocations: 92.81 kB / 0.6515 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.5397, allocations: 47.98 kB / 0.6515 GB, free: 6.148 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (106): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0007722/0.5405, allocations: 0.5858 MB / 0.6521 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.5407, allocations: 165.8 kB / 0.6523 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.5427, allocations: 0.908 MB / 0.6532 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5427, allocations: 7.984 kB / 0.6532 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.5427, allocations: 0 / 0.6532 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/0.5442, allocations: 0.8909 MB / 0.654 GB, free: 3.508 MB / 478.1 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.00323/0.5474, allocations: 2.055 MB / 0.656 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.5475, allocations: 12 kB / 0.656 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5479, allocations: 87.88 kB / 0.6561 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.5482, allocations: 120.2 kB / 0.6562 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5482, allocations: 11.98 kB / 0.6563 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/0.5488, allocations: 0.7513 MB / 0.657 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5488, allocations: 3.938 kB / 0.657 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5512, allocations: 1.269 MB / 0.6582 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.5516, allocations: 322.8 kB / 0.6585 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5518, allocations: 16.06 kB / 0.6586 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/0.5525, allocations: 75.86 kB / 0.6586 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.5526, allocations: 32.39 kB / 0.6587 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.5527, allocations: 23.98 kB / 0.6587 GB, free: 14.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001565/0.5543, allocations: 1.254 MB / 0.6599 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5543, allocations: 4 kB / 0.6599 GB, free: 13.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002058/0.5563, allocations: 0.8112 MB / 0.6607 GB, free: 12.51 MB / 494.1 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 (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.001039/0.5574, allocations: 493.2 kB / 0.6612 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.5608, allocations: 1.867 MB / 0.663 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5608, allocations: 0 / 0.663 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.5616, allocations: 343.5 kB / 0.6633 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/0.5648, allocations: 0.7456 MB / 0.6641 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.5706, allocations: 3.563 MB / 0.6675 GB, free: 5.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.5716, allocations: 1.44 MB / 0.6689 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00149/0.5731, allocations: 441.3 kB / 0.6694 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.5735, allocations: 127.4 kB / 0.6695 GB, free: 3.445 MB / 494.1 MB Notification: Performance of SimCode: time 1.974e-06/0.5735, allocations: 0 / 0.6695 GB, free: 3.445 MB / 494.1 MB Notification: Performance of Templates: time 0.05194/0.6254, allocations: 31.92 MB / 0.7007 GB, free: 3.922 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)