Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.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.00129/0.00129, allocations: 102.6 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.001836/0.001836, allocations: 172.3 kB / 16.58 MB, free: 6.395 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.521/1.521, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.577/2.577, allocations: 390.5 MB / 0.6662 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 12 kB / 0.8154 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9586, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.2001/1.159, allocations: 146.7 MB / 1.098 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005391/1.164, allocations: 3.371 MB / 1.101 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/1.165, allocations: 11.88 kB / 1.101 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/1.165, allocations: 107.2 kB / 1.101 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/1.167, allocations: 398.1 kB / 1.101 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/1.168, allocations: 367.8 kB / 1.102 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003847/1.172, allocations: 2.997 MB / 1.105 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/1.174, allocations: 0.6915 MB / 1.105 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/1.176, allocations: 0.8675 MB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.177, allocations: 0.7079 MB / 1.107 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.177, allocations: 32 kB / 1.107 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/1.179, allocations: 0.5535 MB / 1.108 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/1.179, allocations: 286.9 kB / 1.108 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/1.179, allocations: 233.1 kB / 1.108 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/1.181, allocations: 1.025 MB / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/1.181, allocations: 0 / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.587e-06/1.181, allocations: 0 / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.181, allocations: 8 kB / 1.109 GB, free: 1.273 MB / 0.8575 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.002485/1.183, allocations: 1.307 MB / 1.11 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.183, allocations: 8.031 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/1.184, allocations: 194.2 kB / 1.111 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.186, allocations: 0.7924 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/1.186, allocations: 41 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/1.186, allocations: 64 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.187, allocations: 0.8004 MB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.187, allocations: 4 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/1.187, allocations: 16 kB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/1.187, allocations: 16 kB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009704/1.188, allocations: 0.5423 MB / 1.113 GB, free: 13.3 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.00494/1.193, allocations: 4.6 MB / 1.117 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/1.194, allocations: 430.3 kB / 1.118 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/1.195, allocations: 256.6 kB / 1.118 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/1.195, allocations: 194.2 kB / 1.118 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/1.196, allocations: 305.1 kB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.825e-06/1.196, allocations: 0 / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.004695/1.2, allocations: 1.666 MB / 1.12 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.2, allocations: 81.11 kB / 1.12 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.202, allocations: 1.114 MB / 1.121 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/1.202, allocations: 37.7 kB / 1.121 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/1.203, allocations: 0.4961 MB / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.203, allocations: 114.5 kB / 1.122 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/1.203, allocations: 8 kB / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.203, allocations: 326 kB / 1.122 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/1.204, allocations: 184.7 kB / 1.122 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/1.204, allocations: 0.4979 MB / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/1.205, allocations: 295.3 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.205, allocations: 7.953 kB / 1.123 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002034/1.207, allocations: 0.9804 MB / 1.124 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003145/1.207, allocations: 270.9 kB / 1.124 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.207, allocations: 8 kB / 1.124 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/1.209, allocations: 362.2 kB / 1.125 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.209, allocations: 63.89 kB / 1.125 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/1.211, allocations: 1.096 MB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/1.211, allocations: 99.38 kB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/1.211, allocations: 27.98 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.212, allocations: 7.953 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/1.213, allocations: 0.7285 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.213, allocations: 8.094 kB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/1.214, allocations: 226.5 kB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/1.214, allocations: 63.88 kB / 1.127 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/1.218, allocations: 3.033 MB / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/1.218, allocations: 95.67 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.218, allocations: 20 kB / 1.13 GB, free: 10.73 MB / 0.8887 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.0006773/1.219, allocations: 480.6 kB / 1.13 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.219, allocations: 98.78 kB / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/1.22, allocations: 0.7182 MB / 1.131 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.22, allocations: 4 kB / 1.131 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/1.22, allocations: 0 / 1.131 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/1.221, allocations: 8 kB / 1.131 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/1.223, allocations: 1.623 MB / 1.133 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.223, allocations: 4 kB / 1.133 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.223, allocations: 19.98 kB / 1.133 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/1.224, allocations: 248.4 kB / 1.133 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/1.224, allocations: 12.16 kB / 1.133 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/1.225, allocations: 1.032 MB / 1.134 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.225, allocations: 8.031 kB / 1.134 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.226, allocations: 0.831 MB / 1.135 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/1.226, allocations: 231.7 kB / 1.135 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/1.226, allocations: 8 kB / 1.135 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.227, allocations: 59.78 kB / 1.135 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/1.227, allocations: 27.91 kB / 1.135 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.227, allocations: 11.98 kB / 1.135 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001069/1.228, allocations: 0.7877 MB / 1.136 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 0 / 1.136 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001477/1.229, allocations: 447.4 kB / 1.136 GB, free: 3.898 MB / 0.8887 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.0005724/1.23, allocations: 177.1 kB / 1.137 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002661/1.233, allocations: 1.204 MB / 1.138 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.233, allocations: 0 / 1.138 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006245/1.233, allocations: 280.1 kB / 1.138 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/1.235, allocations: 461.6 kB / 1.138 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.238, allocations: 2.052 MB / 1.14 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/1.239, allocations: 1.181 MB / 1.142 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/1.239, allocations: 59.44 kB / 1.142 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.239, allocations: 0 / 1.142 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.03268/1.272, allocations: 20.32 MB / 1.162 GB, free: 10.14 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDpCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpCalcHelperMain.o] Error 1