Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001224/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 273.8 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 12.75 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.422/0.5576, allocations: 146.7 MB / 0.8278 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004426/0.5621, allocations: 3.37 MB / 0.8311 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.5625, allocations: 8.031 kB / 0.8311 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.563, allocations: 120 kB / 0.8312 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.5641, allocations: 377.8 kB / 0.8315 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.5653, allocations: 381 kB / 0.8319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.5682, allocations: 3.003 MB / 0.8348 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.5692, allocations: 0.6901 MB / 0.8355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.5707, allocations: 0.8622 MB / 0.8363 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5718, allocations: 0.7085 MB / 0.837 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.572, allocations: 33.81 kB / 0.8371 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.5732, allocations: 0.5546 MB / 0.8376 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.5735, allocations: 281.2 kB / 0.8379 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.5739, allocations: 231.1 kB / 0.8381 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.575, allocations: 1.021 MB / 0.8391 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.575, allocations: 4 kB / 0.8391 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.575, allocations: 4 kB / 0.8391 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.983e-05/0.5751, allocations: 3.219 kB / 0.8391 GB, free: 9.156 MB / 0.5606 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.002112/0.5772, allocations: 1.313 MB / 0.8404 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5772, allocations: 7.938 kB / 0.8404 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.578, allocations: 189.2 kB / 0.8406 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5794, allocations: 0.7945 MB / 0.8414 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.5795, allocations: 41.62 kB / 0.8414 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.5796, allocations: 61.59 kB / 0.8415 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5807, allocations: 0.7917 MB / 0.8422 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5808, allocations: 3.938 kB / 0.8422 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.5808, allocations: 23.53 kB / 0.8423 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.5808, allocations: 13.81 kB / 0.8423 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.5818, allocations: 0.5443 MB / 0.8428 GB, free: 6.59 MB / 0.5606 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.003945/0.5857, allocations: 4.604 MB / 0.8473 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.5864, allocations: 431.2 kB / 0.8477 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.5868, allocations: 250.7 kB / 0.8479 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.5871, allocations: 195.1 kB / 0.8481 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.5876, allocations: 305.3 kB / 0.8484 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.5876, allocations: 3.938 kB / 0.8484 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.004613/0.5922, allocations: 1.673 MB / 0.8501 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5923, allocations: 80.3 kB / 0.8501 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.5935, allocations: 1.114 MB / 0.8512 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.5936, allocations: 35.39 kB / 0.8513 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.594, allocations: 0.4888 MB / 0.8517 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.5941, allocations: 103.3 kB / 0.8518 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.5941, allocations: 8 kB / 0.8518 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5943, allocations: 329.9 kB / 0.8522 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.5946, allocations: 182.8 kB / 0.8523 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.5952, allocations: 0.5016 MB / 0.8528 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.5956, allocations: 298.8 kB / 0.8531 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5956, allocations: 2.844 kB / 0.8531 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00198/0.5976, allocations: 0.9918 MB / 0.8541 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.5978, allocations: 275.7 kB / 0.8543 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5978, allocations: 2.906 kB / 0.8543 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.599, allocations: 357 kB / 0.8547 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5992, allocations: 62.72 kB / 0.8547 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.6005, allocations: 1.101 MB / 0.8558 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.6012, allocations: 110.1 kB / 0.8559 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.6012, allocations: 19.56 kB / 0.8559 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.6013, allocations: 2.469 kB / 0.8559 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/0.6025, allocations: 0.7428 MB / 0.8567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6026, allocations: 5.562 kB / 0.8567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.6031, allocations: 222.9 kB / 0.8569 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.6033, allocations: 67.62 kB / 0.8569 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.6067, allocations: 3.028 MB / 0.8599 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.6074, allocations: 102.5 kB / 0.86 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.6075, allocations: 19.47 kB / 0.86 GB, free: 9.426 MB / 0.5762 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.608, allocations: 482.6 kB / 0.8605 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6081, allocations: 98.31 kB / 0.8606 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.6093, allocations: 0.7266 MB / 0.8613 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6094, allocations: 3.25 kB / 0.8613 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.6094, allocations: 7.094 kB / 0.8613 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.6094, allocations: 3.984 kB / 0.8613 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.6117, allocations: 1.627 MB / 0.8629 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6117, allocations: 0 / 0.8629 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.6118, allocations: 26.39 kB / 0.8629 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.6123, allocations: 244.8 kB / 0.8631 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.6123, allocations: 14.92 kB / 0.8632 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000948/0.6133, allocations: 1.035 MB / 0.8642 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6133, allocations: 0 / 0.8642 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6144, allocations: 0.8372 MB / 0.865 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.6148, allocations: 232.9 kB / 0.8652 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6149, allocations: 6.938 kB / 0.8652 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.6154, allocations: 58.22 kB / 0.8653 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.6155, allocations: 22.84 kB / 0.8653 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.6155, allocations: 15.33 kB / 0.8653 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009917/0.6165, allocations: 0.7833 MB / 0.8661 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6165, allocations: 0 / 0.8661 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001263/0.6178, allocations: 463.4 kB / 0.8665 GB, free: 4.695 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003823/0.6182, allocations: 168.3 kB / 0.8667 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002414/0.6206, allocations: 1.204 MB / 0.8679 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6206, allocations: 0 / 0.8679 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6212, allocations: 288.1 kB / 0.8681 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.6233, allocations: 480.7 kB / 0.8686 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.6262, allocations: 1.991 MB / 0.8705 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.6269, allocations: 1.185 MB / 0.8717 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009162/0.6279, allocations: 315.6 kB / 0.872 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.628, allocations: 59.42 kB / 0.872 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.628, allocations: 0 / 0.872 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.02909/0.6571, allocations: 17.95 MB / 0.8896 GB, free: 13.16 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)