Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001224, allocations: 168.7 kB / 15.95 MB, free: 204 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.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 270.4 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.000399, allocations: 12.88 kB / 0.598 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4232/0.5595, allocations: 146.7 MB / 0.8278 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.5621, allocations: 1.655 MB / 0.8294 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.5624, allocations: 9.438 kB / 0.8294 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.5628, allocations: 104.2 kB / 0.8295 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.5639, allocations: 393.9 kB / 0.8299 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009133/0.5648, allocations: 344.7 kB / 0.8302 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.5675, allocations: 2.981 MB / 0.8331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.5684, allocations: 0.6879 MB / 0.8338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5698, allocations: 0.8634 MB / 0.8346 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.5705, allocations: 0.7096 MB / 0.8353 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.5706, allocations: 33.16 kB / 0.8353 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5717, allocations: 0.5515 MB / 0.8359 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.572, allocations: 279.6 kB / 0.8362 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.5722, allocations: 232.1 kB / 0.8364 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.5732, allocations: 1.017 MB / 0.8374 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5732, allocations: 4 kB / 0.8374 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5732, allocations: 0 / 0.8374 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5732, allocations: 0 / 0.8374 GB, free: 9.969 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001963/0.5752, allocations: 1.307 MB / 0.8386 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5752, allocations: 7.531 kB / 0.8387 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.576, allocations: 186.8 kB / 0.8388 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5772, allocations: 0.8024 MB / 0.8396 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.5773, allocations: 41.91 kB / 0.8397 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.5774, allocations: 65.28 kB / 0.8397 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5784, allocations: 0.7894 MB / 0.8405 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5784, allocations: 5.984 kB / 0.8405 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.5785, allocations: 24.67 kB / 0.8405 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.5785, allocations: 13.72 kB / 0.8405 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.5793, allocations: 0.5426 MB / 0.8411 GB, free: 7.914 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.003526/0.5829, allocations: 4.607 MB / 0.8456 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.5835, allocations: 428.3 kB / 0.846 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.5839, allocations: 246 kB / 0.8462 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.5842, allocations: 194.9 kB / 0.8464 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.5846, allocations: 305.9 kB / 0.8467 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.5846, allocations: 0 / 0.8467 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001207/0.5858, allocations: 0.6461 MB / 0.8473 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.5859, allocations: 80.14 kB / 0.8474 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.5871, allocations: 1.115 MB / 0.8485 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.5871, allocations: 37.67 kB / 0.8485 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.5875, allocations: 492.9 kB / 0.849 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.5876, allocations: 108.3 kB / 0.8491 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.5876, allocations: 14.03 kB / 0.8491 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.5877, allocations: 319.8 kB / 0.8494 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.5881, allocations: 187.4 kB / 0.8496 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.5886, allocations: 0.4969 MB / 0.8501 GB, free: 484 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.589, allocations: 300.1 kB / 0.8504 GB, free: 312 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.589, allocations: 2.844 kB / 0.8504 GB, free: 312 kB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001011/0.59, allocations: 0.6768 MB / 0.851 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.5902, allocations: 278.7 kB / 0.8513 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5902, allocations: 6.156 kB / 0.8513 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5902, allocations: 7.875 kB / 0.8513 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.5919, allocations: 382.6 kB / 0.8517 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.595, allocations: 6.104 MB / 0.8576 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.5957, allocations: 105.8 kB / 0.8577 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.5957, allocations: 24.06 kB / 0.8577 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.5957, allocations: 2.469 kB / 0.8578 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008082/0.5965, allocations: 0.5304 MB / 0.8583 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5966, allocations: 9.812 kB / 0.8583 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.5966, allocations: 6.562 kB / 0.8583 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.5971, allocations: 162.2 kB / 0.8584 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5971, allocations: 16.61 kB / 0.8585 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.5977, allocations: 95.03 kB / 0.8585 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.5977, allocations: 19.22 kB / 0.8586 GB, free: 8.93 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000457/0.5982, allocations: 479 kB / 0.859 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5983, allocations: 100.4 kB / 0.8591 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.5991, allocations: 0.4977 MB / 0.8596 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.5992, allocations: 2.906 kB / 0.8596 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5992, allocations: 7.922 kB / 0.8596 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5992, allocations: 0 / 0.8596 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.601, allocations: 1.395 MB / 0.861 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.601, allocations: 2.406 kB / 0.861 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.6015, allocations: 168.5 kB / 0.8611 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6016, allocations: 2.75 kB / 0.8611 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.6016, allocations: 9.188 kB / 0.8612 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.6042, allocations: 6.02 MB / 0.867 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6042, allocations: 3.188 kB / 0.867 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.605, allocations: 0.6124 MB / 0.8676 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.6053, allocations: 231 kB / 0.8679 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6054, allocations: 8.875 kB / 0.8679 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.6058, allocations: 59.41 kB / 0.8679 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6059, allocations: 26 kB / 0.8679 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.6059, allocations: 11.83 kB / 0.868 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008676/0.6068, allocations: 0.7823 MB / 0.8687 GB, free: 80 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6068, allocations: 0 / 0.8687 GB, free: 80 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001008/0.6078, allocations: 418.5 kB / 0.8691 GB, free: 20 kB / 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003895/0.6082, allocations: 181.8 kB / 0.8693 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002766/0.611, allocations: 1.111 MB / 0.8704 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.611, allocations: 0 / 0.8704 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.6117, allocations: 294.9 kB / 0.8707 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.6136, allocations: 468.9 kB / 0.8711 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.6161, allocations: 2.017 MB / 0.8731 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.6168, allocations: 1.177 MB / 0.8742 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009545/0.6177, allocations: 375.5 kB / 0.8746 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.6179, allocations: 67.38 kB / 0.8746 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.6179, allocations: 0 / 0.8746 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Templates: time 0.02589/0.6438, allocations: 16.77 MB / 0.891 GB, free: 11.44 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)