Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.0009089/0.0009095, allocations: 100.5 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.001161/0.001161, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.498/1.498, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 8 kB / 0.8717 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8738, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1997/1.074, allocations: 152.4 MB / 1.171 GB, free: 8.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005926/1.08, allocations: 3.792 MB / 1.174 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/1.08, allocations: 15.88 kB / 1.174 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/1.081, allocations: 159 kB / 1.174 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/1.083, allocations: 0.4963 MB / 1.175 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/1.084, allocations: 416.2 kB / 1.175 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003602/1.088, allocations: 3.264 MB / 1.178 GB, free: 180 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/1.091, allocations: 2.293 MB / 1.181 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/1.093, allocations: 1.054 MB / 1.182 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/1.094, allocations: 0.856 MB / 1.183 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/1.095, allocations: 48 kB / 1.183 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/1.096, allocations: 0.5925 MB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/1.096, allocations: 334.8 kB / 1.184 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/1.097, allocations: 249.1 kB / 1.184 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/1.098, allocations: 1.181 MB / 1.185 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.098, allocations: 0 / 1.185 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/1.098, allocations: 0 / 1.185 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.098, allocations: 0 / 1.185 GB, free: 9.543 MB / 0.9356 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.00253/1.101, allocations: 1.526 MB / 1.186 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.101, allocations: 11.98 kB / 1.186 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/1.102, allocations: 194.4 kB / 1.187 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.103, allocations: 0.868 MB / 1.187 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/1.103, allocations: 57.2 kB / 1.188 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.103, allocations: 64 kB / 1.188 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.105, allocations: 0.9909 MB / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.105, allocations: 0 / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/1.105, allocations: 28 kB / 1.189 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/1.105, allocations: 12 kB / 1.189 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.106, allocations: 0.8077 MB / 1.189 GB, free: 4.801 MB / 0.9356 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.005157/1.111, allocations: 4.808 MB / 1.194 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/1.114, allocations: 4.032 MB / 1.198 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/1.115, allocations: 353.8 kB / 1.198 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/1.115, allocations: 202.5 kB / 1.199 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/1.115, allocations: 329.5 kB / 1.199 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004105/1.116, allocations: 35.69 kB / 1.199 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/1.116, allocations: 0 / 1.199 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004917/1.121, allocations: 1.684 MB / 1.201 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/1.121, allocations: 85.06 kB / 1.201 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.122, allocations: 1.181 MB / 1.202 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/1.123, allocations: 37.7 kB / 1.202 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/1.123, allocations: 0.5121 MB / 1.202 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.123, allocations: 130.2 kB / 1.202 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/1.123, allocations: 8 kB / 1.202 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.123, allocations: 326 kB / 1.203 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.124, allocations: 212.9 kB / 1.203 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/1.125, allocations: 0.5329 MB / 1.203 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/1.125, allocations: 326.4 kB / 1.204 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.125, allocations: 0 / 1.204 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002716/1.128, allocations: 1.076 MB / 1.205 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003344/1.128, allocations: 271.6 kB / 1.205 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.128, allocations: 8 kB / 1.205 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.13, allocations: 444.4 kB / 1.206 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/1.13, allocations: 75.89 kB / 1.206 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.132, allocations: 1.136 MB / 1.207 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.133, allocations: 95.8 kB / 1.207 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/1.133, allocations: 24 kB / 1.207 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.133, allocations: 4 kB / 1.207 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/1.135, allocations: 0.8098 MB / 1.208 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.135, allocations: 4 kB / 1.208 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/1.136, allocations: 262.3 kB / 1.208 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/1.136, allocations: 71.89 kB / 1.208 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/1.14, allocations: 3.134 MB / 1.211 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.141, allocations: 107.8 kB / 1.211 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/1.142, allocations: 24 kB / 1.211 GB, free: 12.8 MB / 0.9669 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.0007421/1.142, allocations: 476.8 kB / 1.212 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.142, allocations: 110.7 kB / 1.212 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.144, allocations: 0.8397 MB / 1.213 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.144, allocations: 8 kB / 1.213 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/1.144, allocations: 0 / 1.213 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.144, allocations: 4 kB / 1.213 GB, free: 11.35 MB / 0.9669 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.002935/1.147, allocations: 2.163 MB / 1.215 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.147, allocations: 0 / 1.215 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.147, allocations: 55.89 kB / 1.215 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/1.148, allocations: 243.7 kB / 1.215 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.148, allocations: 8 kB / 1.215 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/1.149, allocations: 0.9424 MB / 1.216 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.149, allocations: 3.984 kB / 1.216 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.15, allocations: 0.8889 MB / 1.217 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/1.15, allocations: 235.7 kB / 1.217 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.15, allocations: 15.98 kB / 1.217 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/1.151, allocations: 71.77 kB / 1.217 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/1.151, allocations: 43.84 kB / 1.217 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.151, allocations: 8 kB / 1.217 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001031/1.152, allocations: 0.8289 MB / 1.218 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.218 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001416/1.153, allocations: 0.511 MB / 1.218 GB, free: 5.109 MB / 0.9669 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.0004405/1.154, allocations: 183.8 kB / 1.219 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00263/1.157, allocations: 1.291 MB / 1.22 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.157, allocations: 3.938 kB / 1.22 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/1.157, allocations: 316.6 kB / 1.22 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.16, allocations: 0.6534 MB / 1.221 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/1.164, allocations: 2.263 MB / 1.223 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.165, allocations: 1.213 MB / 1.224 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.165, allocations: 71.44 kB / 1.224 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/1.165, allocations: 0 / 1.224 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.03406/1.199, allocations: 22.72 MB / 1.246 GB, free: 8.402 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpCalcHelperMain.o] Error 1