Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 102.7 kB / 15.71 MB, free: 460 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.001301/0.001301, allocations: 172.9 kB / 16.58 MB, free: 6.863 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.496/1.496, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.728/2.728, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003647, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8877, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1957/1.083, allocations: 152.4 MB / 1.103 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005955/1.089, allocations: 3.787 MB / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/1.09, allocations: 15.88 kB / 1.107 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007452/1.091, allocations: 151 kB / 1.107 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/1.093, allocations: 0.5054 MB / 1.108 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/1.094, allocations: 403.5 kB / 1.108 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003973/1.098, allocations: 3.278 MB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/1.101, allocations: 2.298 MB / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/1.104, allocations: 1.058 MB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/1.105, allocations: 0.852 MB / 1.115 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/1.105, allocations: 48 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/1.106, allocations: 0.5964 MB / 1.116 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/1.107, allocations: 330.8 kB / 1.116 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/1.107, allocations: 249.1 kB / 1.116 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.109, allocations: 1.177 MB / 1.118 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.109, allocations: 0 / 1.118 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.744e-06/1.109, allocations: 0 / 1.118 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.109, allocations: 3.938 kB / 1.118 GB, free: 8.57 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002634/1.111, allocations: 1.524 MB / 1.119 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.111, allocations: 8.031 kB / 1.119 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/1.112, allocations: 202.3 kB / 1.119 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/1.114, allocations: 0.868 MB / 1.12 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/1.114, allocations: 53.25 kB / 1.12 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.114, allocations: 63.98 kB / 1.12 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/1.116, allocations: 0.987 MB / 1.121 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.116, allocations: 4 kB / 1.121 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/1.116, allocations: 27.94 kB / 1.121 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/1.116, allocations: 16 kB / 1.121 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.117, allocations: 0.8038 MB / 1.122 GB, free: 3.832 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.005105/1.122, allocations: 4.805 MB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/1.125, allocations: 4.02 MB / 1.131 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/1.126, allocations: 361.2 kB / 1.131 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/1.126, allocations: 198.5 kB / 1.131 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/1.126, allocations: 337.4 kB / 1.132 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004165/1.127, allocations: 31.69 kB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/1.127, allocations: 0 / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.00509/1.132, allocations: 1.695 MB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/1.132, allocations: 85.11 kB / 1.133 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.134, allocations: 1.181 MB / 1.134 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/1.134, allocations: 37.7 kB / 1.134 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/1.134, allocations: 0.5121 MB / 1.135 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/1.135, allocations: 122.3 kB / 1.135 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.135, allocations: 12 kB / 1.135 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002468/1.135, allocations: 329.9 kB / 1.135 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/1.135, allocations: 205 kB / 1.136 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/1.136, allocations: 0.5368 MB / 1.136 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/1.136, allocations: 321.4 kB / 1.136 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.137, allocations: 0 / 1.136 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002386/1.139, allocations: 1.077 MB / 1.138 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000239/1.139, allocations: 278.9 kB / 1.138 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.139, allocations: 4 kB / 1.138 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/1.141, allocations: 450.1 kB / 1.138 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/1.141, allocations: 71.89 kB / 1.138 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/1.142, allocations: 1.13 MB / 1.139 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/1.143, allocations: 91.8 kB / 1.139 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/1.144, allocations: 31.98 kB / 1.14 GB, free: 404 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.144, allocations: 1.406 kB / 1.14 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/1.145, allocations: 0.814 MB / 1.14 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.145, allocations: 12.56 kB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/1.146, allocations: 253.9 kB / 1.141 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.146, allocations: 67.89 kB / 1.141 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/1.15, allocations: 3.157 MB / 1.144 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.151, allocations: 91.81 kB / 1.144 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.151, allocations: 27.98 kB / 1.144 GB, free: 11.83 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 (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008924/1.152, allocations: 476.7 kB / 1.144 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.152, allocations: 110.6 kB / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.154, allocations: 0.8242 MB / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.154, allocations: 4 kB / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.154, allocations: 0 / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.154, allocations: 7.922 kB / 1.145 GB, free: 10.4 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.003247/1.157, allocations: 2.176 MB / 1.147 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.157, allocations: 4 kB / 1.147 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/1.158, allocations: 47.89 kB / 1.147 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005467/1.158, allocations: 243.8 kB / 1.148 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.158, allocations: 19.98 kB / 1.148 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.159, allocations: 0.9268 MB / 1.149 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.159, allocations: 4 kB / 1.149 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.161, allocations: 0.8768 MB / 1.149 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/1.161, allocations: 239.7 kB / 1.15 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.161, allocations: 8 kB / 1.15 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/1.162, allocations: 87.69 kB / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/1.162, allocations: 27.95 kB / 1.15 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/1.162, allocations: 16 kB / 1.15 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001109/1.163, allocations: 0.8289 MB / 1.151 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.163, allocations: 0 / 1.151 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001481/1.165, allocations: 0.507 MB / 1.151 GB, free: 4.164 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 (22): * 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): 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005905/1.165, allocations: 186.6 kB / 1.151 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002703/1.168, allocations: 1.287 MB / 1.152 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.168, allocations: 0 / 1.152 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/1.168, allocations: 305.5 kB / 1.153 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.172, allocations: 0.6553 MB / 1.153 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/1.176, allocations: 2.281 MB / 1.156 GB, free: 15.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/1.177, allocations: 1.209 MB / 1.157 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/1.177, allocations: 71.42 kB / 1.157 GB, free: 14.07 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/1.177, allocations: 0 / 1.157 GB, free: 14.07 MB / 0.92 GB Notification: Performance of Templates: time 0.04108/1.218, allocations: 22.72 MB / 1.179 GB, free: 7.461 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDpCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpCalcHelperMain.o] Error 1