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.001214/0.001214, allocations: 103.4 kB / 16.4 MB, free: 6.461 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.001278/0.001278, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.06 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 76.17 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06248/0.2136, allocations: 72.71 MB / 0.7031 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.2397, allocations: 18.83 MB / 0.7215 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.2437, allocations: 91.5 kB / 0.7216 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004882/0.2487, allocations: 1.8 MB / 0.7233 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006575/0.2553, allocations: 2.53 MB / 0.7258 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00509/0.2604, allocations: 2.153 MB / 0.7279 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.2738, allocations: 10.95 MB / 0.7386 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007425/0.2813, allocations: 6.16 MB / 0.7446 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3325/0.6137, allocations: 3.353 MB / 0.7479 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.6189, allocations: 2.565 MB / 0.7504 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.6201, allocations: 266.2 kB / 0.7506 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/0.6255, allocations: 1.559 MB / 0.7522 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009084/0.6264, allocations: 0.9091 MB / 0.753 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.6289, allocations: 1.955 MB / 0.755 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008276/0.6372, allocations: 5.353 MB / 0.7602 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6372, allocations: 0.5938 kB / 0.7602 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6372, allocations: 1.25 kB / 0.7602 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001316/0.6374, allocations: 0.5 kB / 0.7602 GB, free: 18.35 MB / 0.5762 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.01056/0.648, allocations: 4.371 MB / 0.7644 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.648, allocations: 9.688 kB / 0.7645 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.651, allocations: 0.6747 MB / 0.7651 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007067/0.6581, allocations: 3.804 MB / 0.7688 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.6582, allocations: 138.5 kB / 0.769 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.6585, allocations: 189.9 kB / 0.7691 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.6623, allocations: 2.361 MB / 0.7714 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.6623, allocations: 5.5 kB / 0.7715 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.6625, allocations: 68.62 kB / 0.7715 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.6625, allocations: 40.56 kB / 0.7716 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.6658, allocations: 1.912 MB / 0.7734 GB, free: 14.92 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 preOpt removeSimpleEquations (simulation): time 0.01244/0.6782, allocations: 11.48 MB / 0.7846 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.6807, allocations: 1.352 MB / 0.786 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.6821, allocations: 1.014 MB / 0.787 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005313/0.6875, allocations: 3.716 MB / 0.7906 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.6888, allocations: 0.78 MB / 0.7913 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001156/0.6899, allocations: 244 kB / 0.7916 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=94): time 2.605e-06/0.69, allocations: 2.906 kB / 0.7916 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94): time 0.01035/0.7003, allocations: 4.23 MB / 0.7957 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7004, allocations: 59.88 kB / 0.7958 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.7045, allocations: 3.471 MB / 0.7992 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.7046, allocations: 56.02 kB / 0.7992 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.7057, allocations: 1.57 MB / 0.8007 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.7059, allocations: 337.2 kB / 0.8011 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.7064, allocations: 461 kB / 0.8015 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.7065, allocations: 309.1 kB / 0.8018 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.7078, allocations: 0.8618 MB / 0.8026 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.7094, allocations: 1.681 MB / 0.8043 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.7122, allocations: 2.263 MB / 0.8065 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.7122, allocations: 3.75 kB / 0.8065 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005496/0.7177, allocations: 3.337 MB / 0.8098 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.7177, allocations: 49.64 kB / 0.8098 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.7178, allocations: 13.56 kB / 0.8098 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.7198, allocations: 0.6911 MB / 0.8105 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.721, allocations: 350.5 kB / 0.8108 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.7227, allocations: 1.912 MB / 0.8127 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.7251, allocations: 127.6 kB / 0.8128 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.7253, allocations: 95.95 kB / 0.8129 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002832/0.7282, allocations: 1.585 MB / 0.8145 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001874/0.73, allocations: 1.648 MB / 0.8161 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002905/0.733, allocations: 2.201 MB / 0.8182 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.733, allocations: 8 kB / 0.8182 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005164/0.7381, allocations: 3.221 MB / 0.8214 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.7382, allocations: 41.69 kB / 0.8214 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7382, allocations: 16 kB / 0.8214 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.7391, allocations: 473.2 kB / 0.8219 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7403, allocations: 345 kB / 0.8222 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.7466, allocations: 6.336 MB / 0.8284 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.7492, allocations: 136.8 kB / 0.8285 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.7494, allocations: 87.95 kB / 0.8286 GB, free: 13.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (169): * Single equations (assignments): 164 * 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.0005367/0.75, allocations: 296.5 kB / 0.8289 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/0.7506, allocations: 331.8 kB / 0.8292 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/0.7555, allocations: 2.467 MB / 0.8316 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.7556, allocations: 16 kB / 0.8316 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7556, allocations: 1.969 kB / 0.8316 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003342/0.7589, allocations: 2.074 MB / 0.8337 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/0.7672, allocations: 4.577 MB / 0.8381 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7672, allocations: 12 kB / 0.8381 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.7681, allocations: 166.9 kB / 0.8383 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009833/0.7691, allocations: 474 kB / 0.8387 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.7691, allocations: 35.97 kB / 0.8388 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.7707, allocations: 1.855 MB / 0.8406 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7707, allocations: 4.031 kB / 0.8406 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.776, allocations: 3.177 MB / 0.8437 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.7772, allocations: 0.5279 MB / 0.8442 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006751/0.7779, allocations: 29.06 kB / 0.8442 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.7794, allocations: 87.39 kB / 0.8443 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.7796, allocations: 76.89 kB / 0.8444 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.7797, allocations: 47.97 kB / 0.8444 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003856/0.7836, allocations: 2.355 MB / 0.8467 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7836, allocations: 0 / 0.8467 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004598/0.7882, allocations: 1.505 MB / 0.8482 GB, free: 9.113 MB / 0.6231 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 (78): * Single equations (assignments): 70 * 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.001672/0.7899, allocations: 0.6009 MB / 0.8488 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006433/0.7963, allocations: 3.714 MB / 0.8524 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.7963, allocations: 3.281 kB / 0.8524 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7979, allocations: 0.807 MB / 0.8532 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007353/0.8053, allocations: 1.441 MB / 0.8546 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.8172, allocations: 5.941 MB / 0.8604 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.8193, allocations: 2.245 MB / 0.8626 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002878/0.8222, allocations: 0.8298 MB / 0.8634 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/0.8229, allocations: 239.3 kB / 0.8637 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.8229, allocations: 0 / 0.8637 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.08882/0.9117, allocations: 60.75 MB / 0.923 GB, free: 13.69 MB / 0.7012 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)