Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 102.9 kB / 16.64 MB, free: 6.828 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.001763/0.001763, allocations: 193.9 kB / 17.57 MB, free: 5.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.396/1.396, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7623/0.7623, allocations: 122.9 MB / 414.2 MB, free: 128 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.00154, allocations: 67.89 kB / 0.4912 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4375, allocations: 77.91 MB / 0.5673 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03012/0.4677, allocations: 32.9 MB / 0.5995 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.4855, allocations: 12.22 MB / 0.6114 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.4884, allocations: 47.69 kB / 0.6114 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008658/0.497, allocations: 3.965 MB / 0.6153 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.5026, allocations: 1.513 MB / 0.6168 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.5066, allocations: 1.331 MB / 0.6181 GB, free: 7.109 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01077/0.5174, allocations: 7.907 MB / 0.6258 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.5207, allocations: 2.086 MB / 0.6278 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.5255, allocations: 1.923 MB / 0.6297 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.5284, allocations: 1.474 MB / 0.6312 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006631/0.529, allocations: 148 kB / 0.6313 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.5327, allocations: 1.342 MB / 0.6326 GB, free: 8.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.5337, allocations: 0.5994 MB / 0.6332 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002585/0.5363, allocations: 1.197 MB / 0.6344 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.5408, allocations: 2.713 MB / 0.637 GB, free: 3.645 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5408, allocations: 4 kB / 0.637 GB, free: 3.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5409, allocations: 0 / 0.637 GB, free: 3.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.541, allocations: 0 / 0.637 GB, free: 3.641 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006451/0.5474, allocations: 2.788 MB / 0.6397 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5475, allocations: 12.62 kB / 0.6398 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.5498, allocations: 432.6 kB / 0.6402 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.5551, allocations: 2.669 MB / 0.6428 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.5553, allocations: 82.28 kB / 0.6429 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.5556, allocations: 115.9 kB / 0.643 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.5584, allocations: 1.315 MB / 0.6442 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.5585, allocations: 7.938 kB / 0.6443 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.5586, allocations: 40 kB / 0.6443 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5586, allocations: 24 kB / 0.6443 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.561, allocations: 1.038 MB / 0.6453 GB, free: 10.9 MB / 494.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.009543/0.5705, allocations: 7.139 MB / 0.6523 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.572, allocations: 0.598 MB / 0.6529 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/0.5728, allocations: 407.2 kB / 0.6533 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003101/0.5759, allocations: 1.759 MB / 0.655 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008565/0.5768, allocations: 367.4 kB / 0.6553 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008382/0.5777, allocations: 111 kB / 0.6554 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 4.118e-06/0.5777, allocations: 0 / 0.6554 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003874/0.5816, allocations: 1.386 MB / 0.6568 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5816, allocations: 59.41 kB / 0.6569 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.5853, allocations: 2.356 MB / 0.6592 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/0.5854, allocations: 41.7 kB / 0.6592 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/0.5864, allocations: 0.9958 MB / 0.6602 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5866, allocations: 165.8 kB / 0.6603 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.587, allocations: 302.5 kB / 0.6606 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5872, allocations: 353.9 kB / 0.661 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/0.5881, allocations: 0.5017 MB / 0.6614 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.5894, allocations: 0.9893 MB / 0.6624 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.5915, allocations: 1.343 MB / 0.6637 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.5915, allocations: 4 kB / 0.6637 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003556/0.5951, allocations: 1.814 MB / 0.6655 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.5951, allocations: 37.64 kB / 0.6655 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5952, allocations: 12 kB / 0.6655 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.5958, allocations: 185.3 kB / 0.6657 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.5967, allocations: 231.6 kB / 0.6659 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006806/0.5974, allocations: 0.763 MB / 0.6667 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.599, allocations: 120.2 kB / 0.6668 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.5991, allocations: 59.98 kB / 0.6669 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001699/0.6008, allocations: 1.025 MB / 0.6679 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/0.602, allocations: 0.9662 MB / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001793/0.6038, allocations: 1.311 MB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.6039, allocations: 4 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.003188/0.6071, allocations: 1.789 MB / 0.6718 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.6071, allocations: 38.48 kB / 0.6719 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6071, allocations: 15.94 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.6074, allocations: 135.6 kB / 0.672 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.6082, allocations: 223.6 kB / 0.6722 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.6106, allocations: 2.321 MB / 0.6745 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.6121, allocations: 116.4 kB / 0.6746 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6123, allocations: 51.98 kB / 0.6747 GB, free: 11.11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.6127, allocations: 251.9 kB / 0.6749 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.6131, allocations: 213.2 kB / 0.6751 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.6157, allocations: 1.064 MB / 0.6761 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6157, allocations: 4 kB / 0.6761 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6157, allocations: 0 / 0.6761 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/0.6174, allocations: 0.9762 MB / 0.6771 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.6221, allocations: 2.311 MB / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6221, allocations: 4 kB / 0.6794 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.6227, allocations: 91.86 kB / 0.6794 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.623, allocations: 130.8 kB / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.623, allocations: 11.98 kB / 0.6796 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005748/0.6236, allocations: 0.7357 MB / 0.6803 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6236, allocations: 0 / 0.6803 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.6265, allocations: 1.431 MB / 0.6817 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.6273, allocations: 350.2 kB / 0.682 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.6278, allocations: 15.94 kB / 0.682 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.629, allocations: 79.92 kB / 0.6821 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.6291, allocations: 44.31 kB / 0.6822 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.6292, allocations: 23.98 kB / 0.6822 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002711/0.6319, allocations: 1.603 MB / 0.6838 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6319, allocations: 0 / 0.6838 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003186/0.6351, allocations: 0.9517 MB / 0.6847 GB, free: 0.5938 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.6366, allocations: 0.5134 MB / 0.6852 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004038/0.6406, allocations: 2.085 MB / 0.6872 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6406, allocations: 384 / 0.6872 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.6415, allocations: 354.1 kB / 0.6876 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.6461, allocations: 0.9805 MB / 0.6885 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.6547, allocations: 4.391 MB / 0.6928 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.6564, allocations: 1.67 MB / 0.6944 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.657, allocations: 167.4 kB / 0.6946 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/0.657, allocations: 0 / 0.6946 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.06668/0.7237, allocations: 45.02 MB / 0.7386 GB, free: 9.594 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)