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.001738/0.001738, allocations: 109 kB / 17.04 MB, free: 5.812 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.002122/0.002123, allocations: 195 kB / 17.98 MB, free: 5.027 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8295/0.8295, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 56.09 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2978, allocations: 76.15 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.0251/0.3229, allocations: 30.03 MB / 0.5869 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3378, allocations: 11.71 MB / 0.5983 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.3397, allocations: 48.12 kB / 0.5984 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00714/0.3468, allocations: 3.928 MB / 0.6022 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.3507, allocations: 1.526 MB / 0.6037 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.3541, allocations: 1.406 MB / 0.6051 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008374/0.3625, allocations: 6.627 MB / 0.6115 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.3646, allocations: 1.373 MB / 0.6129 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.3679, allocations: 1.461 MB / 0.6143 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.3697, allocations: 1.093 MB / 0.6154 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.37, allocations: 124 kB / 0.6155 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.373, allocations: 1.303 MB / 0.6168 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006679/0.3737, allocations: 0.5178 MB / 0.6173 GB, free: 7.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.375, allocations: 0.9677 MB / 0.6182 GB, free: 6.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.3792, allocations: 3.006 MB / 0.6211 GB, free: 3.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3792, allocations: 4 kB / 0.6212 GB, free: 3.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3792, allocations: 0 / 0.6212 GB, free: 3.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.3793, allocations: 0 / 0.6212 GB, free: 3.324 MB / 462.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.003853/0.3831, allocations: 2.347 MB / 0.6234 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3832, allocations: 12.03 kB / 0.6235 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.385, allocations: 381.2 kB / 0.6238 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/0.3891, allocations: 2.352 MB / 0.6261 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.3891, allocations: 70 kB / 0.6262 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3893, allocations: 88 kB / 0.6263 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.3911, allocations: 1.005 MB / 0.6272 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3911, allocations: 0 / 0.6272 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.3912, allocations: 36 kB / 0.6273 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3912, allocations: 16 kB / 0.6273 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3929, allocations: 0.7532 MB / 0.628 GB, free: 12.1 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 preOpt removeSimpleEquations (simulation): time 0.006565/0.3995, allocations: 5.233 MB / 0.6331 GB, free: 6.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4009, allocations: 0.5651 MB / 0.6337 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.4016, allocations: 325.5 kB / 0.634 GB, free: 5.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003447/0.4051, allocations: 1.639 MB / 0.6356 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008038/0.406, allocations: 330.8 kB / 0.6359 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006152/0.4066, allocations: 63.27 kB / 0.636 GB, free: 3.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 3.927e-06/0.4066, allocations: 4 kB / 0.636 GB, free: 3.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.003508/0.4101, allocations: 1.219 MB / 0.6372 GB, free: 2.199 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4102, allocations: 59.41 kB / 0.6372 GB, free: 2.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.413, allocations: 1.861 MB / 0.639 GB, free: 228 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.4131, allocations: 41.64 kB / 0.6391 GB, free: 180 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.4138, allocations: 0.7831 MB / 0.6399 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.414, allocations: 157.9 kB / 0.64 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.4144, allocations: 262.3 kB / 0.6403 GB, free: 14.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4145, allocations: 353.9 kB / 0.6406 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008838/0.4154, allocations: 464.9 kB / 0.641 GB, free: 14.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4165, allocations: 0.8314 MB / 0.6418 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4183, allocations: 1.169 MB / 0.643 GB, free: 11.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4184, allocations: 4 kB / 0.643 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003115/0.4215, allocations: 1.584 MB / 0.6445 GB, free: 10.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.4216, allocations: 45.81 kB / 0.6446 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.4216, allocations: 8 kB / 0.6446 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.4223, allocations: 185.6 kB / 0.6448 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.423, allocations: 199.7 kB / 0.645 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/0.4238, allocations: 0.7782 MB / 0.6457 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4249, allocations: 71.92 kB / 0.6458 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.425, allocations: 47.98 kB / 0.6458 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/0.4265, allocations: 0.8688 MB / 0.6467 GB, free: 8.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.4275, allocations: 0.8184 MB / 0.6475 GB, free: 7.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001568/0.4291, allocations: 1.117 MB / 0.6486 GB, free: 5.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.4291, allocations: 4 kB / 0.6486 GB, free: 5.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002684/0.4318, allocations: 1.584 MB / 0.6501 GB, free: 4.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.4318, allocations: 37.69 kB / 0.6502 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4319, allocations: 12 kB / 0.6502 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.4321, allocations: 104.8 kB / 0.6503 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.4328, allocations: 188.1 kB / 0.6504 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.435, allocations: 2.363 MB / 0.6528 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.4362, allocations: 75.95 kB / 0.6528 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.4363, allocations: 40 kB / 0.6529 GB, free: 1.227 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 101 * 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.0002811/0.4366, allocations: 243.9 kB / 0.6531 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.4369, allocations: 169.8 kB / 0.6533 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.439, allocations: 0.9042 MB / 0.6541 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.439, allocations: 4 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.439, allocations: 4 kB / 0.6542 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.4406, allocations: 0.8842 MB / 0.655 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.4442, allocations: 1.994 MB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4442, allocations: 0 / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.4447, allocations: 80 kB / 0.657 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.445, allocations: 131.2 kB / 0.6572 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.4451, allocations: 19.92 kB / 0.6572 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005967/0.4457, allocations: 0.7435 MB / 0.6579 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4457, allocations: 7.984 kB / 0.6579 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.4481, allocations: 1.237 MB / 0.6591 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/0.4487, allocations: 310.9 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.449, allocations: 12 kB / 0.6594 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.4497, allocations: 44.02 kB / 0.6595 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4499, allocations: 35.95 kB / 0.6595 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.4499, allocations: 19.98 kB / 0.6595 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001864/0.4518, allocations: 1.258 MB / 0.6608 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4518, allocations: 0 / 0.6608 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002229/0.454, allocations: 0.8111 MB / 0.6615 GB, free: 8.066 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 (37): * Single equations (assignments): 31 * 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.001186/0.4552, allocations: 0.4932 MB / 0.662 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.4588, allocations: 1.869 MB / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4588, allocations: 4.375 kB / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008426/0.4597, allocations: 342.6 kB / 0.6642 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.4628, allocations: 0.8012 MB / 0.665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/0.4689, allocations: 2.989 MB / 0.6679 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.4701, allocations: 1.445 MB / 0.6693 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001512/0.4716, allocations: 443.7 kB / 0.6697 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.472, allocations: 131.4 kB / 0.6698 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.472, allocations: 0 / 0.6698 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Templates: time 0.05375/0.5257, allocations: 33.34 MB / 0.7024 GB, free: 14.53 MB / 0.545 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)