Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001253, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4599/0.4599, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 349.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 106.8 kB / 420 MB, free: 8.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 0.4891 GB, free: 7.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.32, allocations: 70.05 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.467/0.787, allocations: 159.3 MB / 0.7131 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00464/0.7917, allocations: 3.639 MB / 0.7166 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.7922, allocations: 11.88 kB / 0.7167 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.7928, allocations: 130.3 kB / 0.7168 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.7945, allocations: 0.4989 MB / 0.7173 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.7959, allocations: 392.8 kB / 0.7176 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.7992, allocations: 3.504 MB / 0.7211 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.8002, allocations: 0.7655 MB / 0.7218 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.8017, allocations: 0.9285 MB / 0.7227 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007894/0.8025, allocations: 0.7357 MB / 0.7234 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.8026, allocations: 37.28 kB / 0.7235 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.8041, allocations: 0.8071 MB / 0.7243 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.8044, allocations: 286.4 kB / 0.7245 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.805, allocations: 0.5125 MB / 0.725 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.8065, allocations: 1.381 MB / 0.7264 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8065, allocations: 0 / 0.7264 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8065, allocations: 2.812 kB / 0.7264 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8065, allocations: 1.094 kB / 0.7264 GB, free: 1.391 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002229/0.8088, allocations: 1.459 MB / 0.7278 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8088, allocations: 10.66 kB / 0.7278 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006682/0.8095, allocations: 191.1 kB / 0.728 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.811, allocations: 0.7959 MB / 0.7288 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.8111, allocations: 47.94 kB / 0.7288 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.8112, allocations: 59.12 kB / 0.7289 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.8126, allocations: 0.7948 MB / 0.7297 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.8126, allocations: 2.281 kB / 0.7297 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.8127, allocations: 19.03 kB / 0.7297 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.8127, allocations: 13.62 kB / 0.7297 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.8135, allocations: 0.5358 MB / 0.7302 GB, free: 15.87 MB / 0.5261 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.004169/0.8177, allocations: 4.583 MB / 0.7347 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.8184, allocations: 421 kB / 0.7351 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.8188, allocations: 251.5 kB / 0.7353 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.8191, allocations: 197.5 kB / 0.7355 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.8196, allocations: 302.2 kB / 0.7358 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.8196, allocations: 0 / 0.7358 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.004827/0.8244, allocations: 1.635 MB / 0.7374 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.8245, allocations: 86.89 kB / 0.7375 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.8257, allocations: 1.116 MB / 0.7386 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.8258, allocations: 37.39 kB / 0.7386 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.8261, allocations: 490.6 kB / 0.7391 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.8262, allocations: 113.1 kB / 0.7392 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.8263, allocations: 111.2 kB / 0.7393 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8265, allocations: 329.5 kB / 0.7396 GB, free: 11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.8268, allocations: 218 kB / 0.7398 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.8273, allocations: 0.5195 MB / 0.7403 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.8281, allocations: 0.6355 MB / 0.7409 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8281, allocations: 0 / 0.7409 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001918/0.83, allocations: 1.036 MB / 0.742 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.8301, allocations: 37.55 kB / 0.742 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8301, allocations: 16.38 kB / 0.742 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.8313, allocations: 383.8 kB / 0.7424 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.8315, allocations: 57.47 kB / 0.7424 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.8328, allocations: 1.09 MB / 0.7435 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.8335, allocations: 92.69 kB / 0.7436 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.8336, allocations: 29.55 kB / 0.7436 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006377/0.8342, allocations: 0.4977 MB / 0.7441 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004979/0.8347, allocations: 493.4 kB / 0.7446 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006512/0.8354, allocations: 0.5514 MB / 0.7451 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.8354, allocations: 3.594 kB / 0.7451 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001315/0.8367, allocations: 0.8359 MB / 0.7459 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.8368, allocations: 36.72 kB / 0.746 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8368, allocations: 6.156 kB / 0.746 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.8373, allocations: 216 kB / 0.7462 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.8375, allocations: 60.31 kB / 0.7462 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.8405, allocations: 3.002 MB / 0.7492 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/0.8413, allocations: 92.02 kB / 0.7492 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.8414, allocations: 21.53 kB / 0.7493 GB, free: 7.258 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.8416, allocations: 213.8 kB / 0.7495 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.8417, allocations: 108.7 kB / 0.7496 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.8429, allocations: 0.698 MB / 0.7503 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.8429, allocations: 5.094 kB / 0.7503 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.8429, allocations: 0 / 0.7503 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.843, allocations: 0 / 0.7503 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.8452, allocations: 1.608 MB / 0.7518 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8452, allocations: 6.031 kB / 0.7518 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.8453, allocations: 27.69 kB / 0.7519 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.8458, allocations: 247.5 kB / 0.7521 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.8458, allocations: 10.19 kB / 0.7521 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.8467, allocations: 1.027 MB / 0.7531 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8467, allocations: 6.156 kB / 0.7531 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.8485, allocations: 1.767 MB / 0.7548 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.849, allocations: 213.7 kB / 0.755 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.8491, allocations: 7.891 kB / 0.7551 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.8495, allocations: 55.2 kB / 0.7551 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.8496, allocations: 30.25 kB / 0.7551 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.8496, allocations: 13.5 kB / 0.7552 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009743/0.8506, allocations: 0.7898 MB / 0.7559 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8506, allocations: 4.375 kB / 0.7559 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001445/0.8521, allocations: 441.5 kB / 0.7563 GB, free: 4.656 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/0.8525, allocations: 174.8 kB / 0.7565 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.8547, allocations: 1.2 MB / 0.7577 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8547, allocations: 0 / 0.7577 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.8553, allocations: 278.3 kB / 0.758 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.8577, allocations: 454.7 kB / 0.7584 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.8611, allocations: 2.32 MB / 0.7606 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.8618, allocations: 1.197 MB / 0.7618 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009429/0.8628, allocations: 301.8 kB / 0.7621 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.8629, allocations: 57.55 kB / 0.7622 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/0.8629, allocations: 0 / 0.7622 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of Templates: time 0.03386/0.8968, allocations: 19.07 MB / 0.7808 GB, free: 3.406 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)