Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009526/0.0009524, allocations: 89.12 kB / 16.66 MB, free: 5.871 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.0009761/0.0009762, allocations: 177.6 kB / 17.58 MB, free: 5.543 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.347/1.347, allocations: 223.3 MB / 241.6 MB, free: 72 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.71/0.71, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003579, allocations: 11.98 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4341, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06576/0.4999, allocations: 70.88 MB / 0.6298 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.5293, allocations: 18.73 MB / 0.6481 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/0.5337, allocations: 87.5 kB / 0.6482 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009447/0.5432, allocations: 4.027 MB / 0.6521 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00866/0.5519, allocations: 2.25 MB / 0.6543 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.558, allocations: 1.895 MB / 0.6561 GB, free: 1.305 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01741/0.5754, allocations: 13.59 MB / 0.6694 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008813/0.5842, allocations: 5.596 MB / 0.6749 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007269/0.5915, allocations: 2.765 MB / 0.6776 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/0.597, allocations: 2.473 MB / 0.68 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.5982, allocations: 124 kB / 0.6801 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.6033, allocations: 1.451 MB / 0.6815 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.6049, allocations: 0.7505 MB / 0.6823 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.6092, allocations: 1.788 MB / 0.684 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006516/0.6158, allocations: 3.943 MB / 0.6879 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6158, allocations: 0 / 0.6879 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.786e-06/0.6158, allocations: 4 kB / 0.6879 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002092/0.616, allocations: 0 / 0.6879 GB, free: 0.668 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01005/0.6261, allocations: 4.159 MB / 0.6919 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6261, allocations: 8.031 kB / 0.6919 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.6299, allocations: 0.7017 MB / 0.6926 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008871/0.6388, allocations: 3.664 MB / 0.6962 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.6391, allocations: 143.8 kB / 0.6963 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008205/0.6399, allocations: 188 kB / 0.6965 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006232/0.6462, allocations: 2.355 MB / 0.6988 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.36e-05/0.6463, allocations: 3.938 kB / 0.6988 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.6466, allocations: 68 kB / 0.6989 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.6467, allocations: 40 kB / 0.6989 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00457/0.6513, allocations: 1.947 MB / 0.7008 GB, free: 3.105 MB / 0.5294 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.02158/0.6729, allocations: 12.07 MB / 0.7126 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.676, allocations: 1.388 MB / 0.714 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.6778, allocations: 1.029 MB / 0.715 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007717/0.6855, allocations: 3.822 MB / 0.7187 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.6872, allocations: 0.7897 MB / 0.7195 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002206/0.6894, allocations: 466.3 kB / 0.7199 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 6.753e-06/0.6895, allocations: 4 kB / 0.7199 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.01291/0.7024, allocations: 4.273 MB / 0.7241 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.7025, allocations: 64.39 kB / 0.7242 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/0.7094, allocations: 3.435 MB / 0.7275 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.7097, allocations: 53.7 kB / 0.7276 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.7117, allocations: 1.563 MB / 0.7291 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.7122, allocations: 351.1 kB / 0.7294 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.7126, allocations: 189.6 kB / 0.7296 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7127, allocations: 305.1 kB / 0.7299 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.7146, allocations: 0.8627 MB / 0.7307 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.7171, allocations: 1.656 MB / 0.7324 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.7211, allocations: 2.241 MB / 0.7345 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.7211, allocations: 8 kB / 0.7346 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008088/0.7292, allocations: 3.318 MB / 0.7378 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004582/0.7297, allocations: 0.5696 MB / 0.7384 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/0.7298, allocations: 20 kB / 0.7384 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.7323, allocations: 0.6919 MB / 0.739 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.7338, allocations: 364.9 kB / 0.7394 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.7358, allocations: 1.896 MB / 0.7412 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.7388, allocations: 212.9 kB / 0.7414 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.7392, allocations: 87.97 kB / 0.7415 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7392, allocations: 4 kB / 0.7415 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005396/0.7446, allocations: 2.849 MB / 0.7443 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.745e-05/0.7447, allocations: 19.94 kB / 0.7443 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.7457, allocations: 473.4 kB / 0.7448 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.747, allocations: 341.3 kB / 0.7451 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3408/1.088, allocations: 5.844 MB / 0.7508 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.091, allocations: 201.8 kB / 0.751 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/1.091, allocations: 83.03 kB / 0.7511 GB, free: 160.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (167): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.002031/1.093, allocations: 0.9424 MB / 0.752 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/1.094, allocations: 334.5 kB / 0.7523 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/1.1, allocations: 2.338 MB / 0.7546 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/1.1, allocations: 16.58 kB / 0.7546 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.1, allocations: 0.5312 kB / 0.7546 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/1.104, allocations: 2.032 MB / 0.7566 GB, free: 159.1 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 postOpt removeSimpleEquations (simulation): time 0.00985/1.114, allocations: 4.566 MB / 0.7611 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.114, allocations: 3.938 kB / 0.7611 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/1.115, allocations: 151.4 kB / 0.7612 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/1.116, allocations: 479.9 kB / 0.7617 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.116, allocations: 26.14 kB / 0.7617 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.118, allocations: 1.863 MB / 0.7635 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.118, allocations: 5.125 kB / 0.7635 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006691/1.124, allocations: 3.126 MB / 0.7666 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.126, allocations: 0.5577 MB / 0.7671 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/1.127, allocations: 17.59 kB / 0.7671 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.128, allocations: 169.7 kB / 0.7673 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.129, allocations: 63.3 kB / 0.7674 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/1.129, allocations: 39.09 kB / 0.7674 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004605/1.133, allocations: 2.322 MB / 0.7697 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.693e-06/1.133, allocations: 0 / 0.7697 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006113/1.14, allocations: 1.523 MB / 0.7712 GB, free: 153.2 MB / 0.5762 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 (57): * Single equations (assignments): 49 * 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.001655/1.141, allocations: 0.5727 MB / 0.7717 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007562/1.149, allocations: 3.682 MB / 0.7753 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.149, allocations: 5.219 kB / 0.7753 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.151, allocations: 0.7652 MB / 0.7761 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007864/1.159, allocations: 1.36 MB / 0.7774 GB, free: 151 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.171, allocations: 7.08 MB / 0.7843 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.173, allocations: 2.207 MB / 0.7865 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/1.174, allocations: 230.9 kB / 0.7867 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.424e-06/1.174, allocations: 0 / 0.7867 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.08838/1.262, allocations: 82.76 MB / 0.8675 GB, free: 67.14 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)