Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.594/1.594, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.5 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8653, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1922/1.057, allocations: 152.4 MB / 1.103 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004019/1.062, allocations: 2.066 MB / 1.105 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/1.062, allocations: 11.88 kB / 1.105 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/1.063, allocations: 159 kB / 1.105 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/1.064, allocations: 0.5004 MB / 1.106 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/1.065, allocations: 373.4 kB / 1.106 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.069, allocations: 3.262 MB / 1.109 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/1.072, allocations: 2.286 MB / 1.112 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/1.074, allocations: 1.043 MB / 1.113 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/1.076, allocations: 0.8599 MB / 1.114 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003576/1.076, allocations: 48 kB / 1.114 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/1.078, allocations: 0.5925 MB / 1.114 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/1.079, allocations: 334.8 kB / 1.114 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/1.079, allocations: 245.1 kB / 1.115 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/1.08, allocations: 1.177 MB / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.08, allocations: 0 / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.825e-06/1.08, allocations: 0 / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.314e-05/1.08, allocations: 0 / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002563/1.083, allocations: 1.526 MB / 1.117 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.083, allocations: 8.031 kB / 1.117 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/1.084, allocations: 202.3 kB / 1.118 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.085, allocations: 0.8678 MB / 1.118 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/1.085, allocations: 57.25 kB / 1.118 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.086, allocations: 68 kB / 1.119 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.087, allocations: 0.9909 MB / 1.12 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.087, allocations: 7.938 kB / 1.12 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/1.087, allocations: 20 kB / 1.12 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.087, allocations: 19.95 kB / 1.12 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.088, allocations: 0.8077 MB / 1.12 GB, free: 5.617 MB / 0.8731 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.004696/1.093, allocations: 4.797 MB / 1.125 GB, free: 488 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/1.096, allocations: 4.028 MB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/1.096, allocations: 354.3 kB / 1.129 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/1.097, allocations: 198.5 kB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/1.097, allocations: 329.7 kB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003867/1.098, allocations: 39.69 kB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=35): time 3.927e-06/1.098, allocations: 3.984 kB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.004477/1.102, allocations: 1.598 MB / 1.131 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.102, allocations: 85.11 kB / 1.131 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/1.104, allocations: 1.177 MB / 1.133 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/1.104, allocations: 45.69 kB / 1.133 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/1.105, allocations: 0.5121 MB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/1.105, allocations: 118.3 kB / 1.133 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/1.105, allocations: 8 kB / 1.133 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.105, allocations: 330 kB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/1.105, allocations: 209 kB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/1.106, allocations: 0.5329 MB / 1.134 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/1.106, allocations: 317.4 kB / 1.135 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.106, allocations: 4 kB / 1.135 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002245/1.109, allocations: 1.045 MB / 1.136 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/1.109, allocations: 279.5 kB / 1.136 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.109, allocations: 4 kB / 1.136 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/1.11, allocations: 328.5 kB / 1.136 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.111, allocations: 107.8 kB / 1.136 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.112, allocations: 1.011 MB / 1.137 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/1.113, allocations: 95.86 kB / 1.137 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/1.113, allocations: 24 kB / 1.137 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/1.113, allocations: 4 kB / 1.137 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/1.114, allocations: 0.7946 MB / 1.138 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.114, allocations: 8.125 kB / 1.138 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/1.115, allocations: 224.7 kB / 1.138 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.115, allocations: 103.9 kB / 1.139 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/1.119, allocations: 2.94 MB / 1.141 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/1.12, allocations: 95.81 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/1.12, allocations: 27.98 kB / 1.142 GB, free: 14.18 MB / 0.9044 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007037/1.121, allocations: 473.7 kB / 1.142 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.121, allocations: 106.7 kB / 1.142 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.122, allocations: 0.793 MB / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.122, allocations: 4 kB / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.122, allocations: 0 / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.122, allocations: 7.984 kB / 1.143 GB, free: 12.78 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.002883/1.125, allocations: 2.142 MB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.125, allocations: 4 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/1.125, allocations: 80.09 kB / 1.145 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/1.126, allocations: 172.7 kB / 1.145 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/1.126, allocations: 11.98 kB / 1.145 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/1.126, allocations: 0.8605 MB / 1.146 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.126, allocations: 0 / 1.146 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.128, allocations: 0.8612 MB / 1.147 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/1.128, allocations: 235.7 kB / 1.147 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.128, allocations: 8 kB / 1.147 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/1.129, allocations: 75.77 kB / 1.147 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/1.129, allocations: 31.95 kB / 1.147 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/1.129, allocations: 15.98 kB / 1.147 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00109/1.13, allocations: 0.821 MB / 1.148 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.13, allocations: 0 / 1.148 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001472/1.132, allocations: 0.5109 MB / 1.149 GB, free: 6.73 MB / 0.9044 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004856/1.132, allocations: 186.4 kB / 1.149 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.134, allocations: 1.13 MB / 1.15 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.134, allocations: 0 / 1.15 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/1.135, allocations: 240.6 kB / 1.15 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.138, allocations: 0.6635 MB / 1.151 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/1.141, allocations: 2.17 MB / 1.153 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/1.142, allocations: 1.213 MB / 1.154 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/1.142, allocations: 71.44 kB / 1.154 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of SimCode: time 1.002e-06/1.142, allocations: 0 / 1.154 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of Templates: time 0.03574/1.178, allocations: 22.41 MB / 1.176 GB, free: 10.65 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimisedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimisedCalcHelperMain.o] Error 1