Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008396, allocations: 103 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.0009181/0.0009181, allocations: 173.1 kB / 16.58 MB, free: 6.035 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.479/1.479, allocations: 223.3 MB / 240.6 MB, free: 5.281 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.572/2.572, allocations: 390.4 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8316, allocations: 142.3 MB / 0.9544 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1746/1.006, allocations: 146.7 MB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004384/1.011, allocations: 3.361 MB / 1.101 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/1.011, allocations: 11.94 kB / 1.101 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/1.011, allocations: 111.2 kB / 1.101 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/1.013, allocations: 398.1 kB / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/1.014, allocations: 373.7 kB / 1.102 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002958/1.016, allocations: 3.026 MB / 1.105 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/1.019, allocations: 2.164 MB / 1.107 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/1.021, allocations: 0.8597 MB / 1.108 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/1.022, allocations: 0.7118 MB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/1.022, allocations: 36 kB / 1.108 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/1.023, allocations: 0.5574 MB / 1.109 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/1.023, allocations: 282.9 kB / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/1.023, allocations: 229.1 kB / 1.11 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/1.024, allocations: 1.033 MB / 1.111 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.024, allocations: 0 / 1.111 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.744e-06/1.024, allocations: 0 / 1.111 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.025, allocations: 0 / 1.111 GB, free: 15.81 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001968/1.026, allocations: 1.346 MB / 1.112 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/1.027, allocations: 8.031 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/1.027, allocations: 190.4 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.028, allocations: 0.7963 MB / 1.113 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/1.029, allocations: 52.98 kB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/1.029, allocations: 56 kB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.03, allocations: 0.82 MB / 1.114 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.03, allocations: 3.938 kB / 1.114 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/1.03, allocations: 24 kB / 1.114 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/1.03, allocations: 12 kB / 1.114 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/1.031, allocations: 0.5774 MB / 1.114 GB, free: 11.73 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.00368/1.035, allocations: 4.259 MB / 1.118 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/1.035, allocations: 450.2 kB / 1.119 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/1.036, allocations: 347.7 kB / 1.119 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/1.036, allocations: 198.1 kB / 1.119 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/1.037, allocations: 331.1 kB / 1.12 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001636/1.037, allocations: 35.53 kB / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/1.037, allocations: 0 / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.0013/1.038, allocations: 0.7187 MB / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.038, allocations: 81.11 kB / 1.121 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.039, allocations: 1.151 MB / 1.122 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/1.039, allocations: 41.7 kB / 1.122 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/1.04, allocations: 484.4 kB / 1.122 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/1.04, allocations: 114.4 kB / 1.122 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/1.04, allocations: 4 kB / 1.122 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.04, allocations: 334.1 kB / 1.123 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/1.04, allocations: 205 kB / 1.123 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/1.041, allocations: 0.5189 MB / 1.123 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/1.042, allocations: 315.4 kB / 1.124 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.042, allocations: 7.938 kB / 1.124 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001152/1.043, allocations: 0.7282 MB / 1.124 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/1.043, allocations: 267 kB / 1.125 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.043, allocations: 15.98 kB / 1.125 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.043, allocations: 8 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/1.043, allocations: 127.7 kB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.043, allocations: 11.94 kB / 1.125 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/1.044, allocations: 87.75 kB / 1.125 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/1.044, allocations: 27.98 kB / 1.125 GB, free: 324 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/1.044, allocations: 4.109 kB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009001/1.045, allocations: 0.5872 MB / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.045, allocations: 4 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.045, allocations: 8 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/1.046, allocations: 116.2 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.046, allocations: 15.94 kB / 1.126 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/1.046, allocations: 87.75 kB / 1.126 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.046, allocations: 23.98 kB / 1.126 GB, free: 15.47 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 (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004559/1.047, allocations: 472.6 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.047, allocations: 102.8 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/1.048, allocations: 0.5466 MB / 1.127 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.048, allocations: 4 kB / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.048, allocations: 0 / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.048, allocations: 3.984 kB / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/1.05, allocations: 1.507 MB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.05, allocations: 7.938 kB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/1.05, allocations: 79.83 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.05, allocations: 0 / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.05, allocations: 12 kB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/1.05, allocations: 0 / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.05, allocations: 4 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/1.051, allocations: 0.6664 MB / 1.129 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/1.051, allocations: 231.8 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.052, allocations: 11.98 kB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/1.052, allocations: 71.77 kB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/1.052, allocations: 27.97 kB / 1.129 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/1.052, allocations: 15.98 kB / 1.129 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009928/1.053, allocations: 0.8159 MB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.053, allocations: 0 / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001059/1.054, allocations: 427.4 kB / 1.131 GB, free: 10.33 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 (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/1.055, allocations: 188.9 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001354/1.056, allocations: 0.8956 MB / 1.132 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.056, allocations: 0 / 1.132 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/1.057, allocations: 219.7 kB / 1.132 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.059, allocations: 0.6405 MB / 1.132 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/1.062, allocations: 2.04 MB / 1.134 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/1.063, allocations: 1.178 MB / 1.136 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/1.063, allocations: 83.42 kB / 1.136 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/1.063, allocations: 0 / 1.136 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of Templates: time 0.02661/1.089, allocations: 16.98 MB / 1.152 GB, free: 4.125 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimisedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimisedCalcHelperMain.o] Error 1