Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001725/0.001725, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 296.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 95.84 kB / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3808, allocations: 86.97 MB / 0.7672 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5): time 0.6493/1.03, allocations: 357.8 MB / 1.117 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0993/1.13, allocations: 75.87 MB / 1.191 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01308/1.143, allocations: 433.5 kB / 1.191 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0151/1.158, allocations: 5.873 MB / 1.197 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0304/1.188, allocations: 12.2 MB / 1.209 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0194/1.208, allocations: 8.309 MB / 1.217 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08616/1.294, allocations: 65.99 MB / 1.281 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02311/1.317, allocations: 17.39 MB / 1.298 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02708/1.344, allocations: 14.87 MB / 1.313 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8161/2.16, allocations: 14 MB / 1.326 GB, free: 70.48 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.007262/2.167, allocations: 1.618 MB / 1.328 GB, free: 70.48 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01853/2.186, allocations: 5.115 MB / 1.333 GB, free: 70.48 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.009603/2.196, allocations: 5.478 MB / 1.338 GB, free: 70.48 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.01989/2.216, allocations: 9.444 MB / 1.348 GB, free: 68.54 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.0349/2.25, allocations: 25.97 MB / 1.373 GB, free: 65.96 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/2.25, allocations: 0 / 1.373 GB, free: 65.96 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.134e-06/2.25, allocations: 0 / 1.373 GB, free: 65.96 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0007927/2.251, allocations: 0 / 1.373 GB, free: 65.96 MB / 0.9357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1537 * Number of variables: 1537 Notification: Performance of Generate backend data structure: time 0.05531/2.307, allocations: 20.29 MB / 1.393 GB, free: 58.59 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/2.307, allocations: 11.47 kB / 1.393 GB, free: 58.59 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/2.324, allocations: 3.228 MB / 1.396 GB, free: 57.71 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03219/2.356, allocations: 17.93 MB / 1.413 GB, free: 55.16 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/2.356, allocations: 0.5172 MB / 1.414 GB, free: 55.15 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/2.358, allocations: 0.6972 MB / 1.415 GB, free: 55.15 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/2.38, allocations: 14.66 MB / 1.429 GB, free: 52.31 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/2.38, allocations: 5.344 kB / 1.429 GB, free: 52.31 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/2.381, allocations: 248.9 kB / 1.429 GB, free: 52.31 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/2.381, allocations: 148.1 kB / 1.429 GB, free: 52.31 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/2.407, allocations: 19.54 MB / 1.448 GB, free: 49.45 MB / 0.9357 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.09541/2.503, allocations: 74.37 MB / 1.521 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/2.52, allocations: 11.13 MB / 1.532 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/2.534, allocations: 9.326 MB / 1.541 GB, free: 9.543 MB / 0.9825 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 evalFunc (simulation): time 0.05481/2.588, allocations: 31.7 MB / 1.572 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0142/2.603, allocations: 9.347 MB / 1.581 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0194/2.622, allocations: 5.835 MB / 1.587 GB, free: 10.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=399): time 1.882e-05/2.622, allocations: 0 / 1.587 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=585): time 1.365/3.987, allocations: 202.5 MB / 1.785 GB, free: 0.5278 GB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/3.987, allocations: 125.8 kB / 1.785 GB, free: 0.5277 GB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02136/4.009, allocations: 15.49 MB / 1.8 GB, free: 0.5203 GB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.002989/4.012, allocations: 175.8 kB / 1.8 GB, free: 0.5201 GB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.004633/4.016, allocations: 6.476 MB / 1.806 GB, free: 0.5157 GB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003011/4.019, allocations: 1.991 MB / 1.808 GB, free: 0.5152 GB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004413/4.024, allocations: 2.85 MB / 1.811 GB, free: 0.5137 GB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/4.024, allocations: 301.1 kB / 1.811 GB, free: 0.5135 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01665/4.04, allocations: 11.46 MB / 1.823 GB, free: 0.5043 GB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01868/4.059, allocations: 13.9 MB / 1.836 GB, free: 0.4898 GB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03714/4.096, allocations: 24.48 MB / 1.86 GB, free: 476.4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/4.096, allocations: 19.94 kB / 1.86 GB, free: 476.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.6776/4.774, allocations: 129.1 MB / 1.986 GB, free: 347.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/4.774, allocations: 53.64 kB / 1.986 GB, free: 347.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/4.774, allocations: 44 kB / 1.986 GB, free: 347.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7075/5.482, allocations: 136.4 MB / 2.119 GB, free: 211.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/5.494, allocations: 2.182 MB / 2.122 GB, free: 209.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1778/5.672, allocations: 99.93 MB / 2.219 GB, free: 108.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01745/5.689, allocations: 0.9585 MB / 2.22 GB, free: 107.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002927/5.692, allocations: 0.8057 MB / 2.221 GB, free: 107 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02377/5.716, allocations: 14.07 MB / 2.235 GB, free: 92.92 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01823/5.734, allocations: 13.4 MB / 2.248 GB, free: 78.59 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03472/5.769, allocations: 23.46 MB / 2.271 GB, free: 54.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.051e-05/5.769, allocations: 16 kB / 2.271 GB, free: 54.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=1226) (initialization_lambda0): time 1.027/6.796, allocations: 127.6 MB / 2.395 GB, free: 0.4993 GB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/6.796, allocations: 54.2 kB / 2.395 GB, free: 0.4993 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.647e-05/6.796, allocations: 53.86 kB / 2.395 GB, free: 0.4993 GB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7105/7.506, allocations: 136.1 MB / 2.528 GB, free: 378.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/7.517, allocations: 2.147 MB / 2.53 GB, free: 376.6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1872/7.704, allocations: 104.6 MB / 2.632 GB, free: 272 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/7.723, allocations: 1.011 MB / 2.633 GB, free: 271 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003592/7.726, allocations: 0.7646 MB / 2.634 GB, free: 270.2 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 801 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.005797/7.732, allocations: 0.6362 MB / 2.635 GB, free: 269.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005996/7.738, allocations: 1.347 MB / 2.636 GB, free: 269 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2348/7.973, allocations: 53.15 MB / 2.688 GB, free: 216 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2127/8.186, allocations: 47.43 MB / 2.734 GB, free: 168.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.224e-05/8.186, allocations: 0 / 2.734 GB, free: 168.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009174/8.195, allocations: 2.843 MB / 2.737 GB, free: 166.4 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005706/8.201, allocations: 124 kB / 2.737 GB, free: 166.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/8.215, allocations: 0.7802 MB / 2.738 GB, free: 165.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005733/8.221, allocations: 0.9377 MB / 2.739 GB, free: 164.6 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06868/8.289, allocations: 24.04 MB / 2.762 GB, free: 140.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05105/8.34, allocations: 26.4 MB / 2.788 GB, free: 114.4 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01415/8.355, allocations: 8.224 MB / 2.796 GB, free: 106.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0178/8.372, allocations: 10.58 MB / 2.807 GB, free: 95.6 MB / 1.154 GB Notification: Performance of Backend: time 8.91e-07/8.373, allocations: 4 kB / 2.807 GB, free: 95.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.08754/8.46, allocations: 36.06 MB / 2.842 GB, free: 59.76 MB / 1.154 GB Notification: Performance of SimCode: time 0.05584/8.516, allocations: 32.99 MB / 2.874 GB, free: 27.01 MB / 1.154 GB Notification: Performance of Templates: time 0.8457/9.362, allocations: 466.7 MB / 3.33 GB, free: 147 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)