Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0009, allocations: 99.98 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.001264/0.001264, allocations: 177.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.7 MB / 0.5505 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008338/0.0008339, allocations: 15.78 kB / 0.6744 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3189, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.8182/1.137, allocations: 146.7 MB / 0.9312 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003973/1.141, allocations: 1.644 MB / 0.9328 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/1.142, allocations: 10.09 kB / 0.9328 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/1.142, allocations: 112.8 kB / 0.933 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/1.144, allocations: 387.4 kB / 0.9333 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.145, allocations: 338.5 kB / 0.9336 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00362/1.149, allocations: 3.003 MB / 0.9366 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/1.152, allocations: 2.147 MB / 0.9387 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/1.155, allocations: 0.8568 MB / 0.9395 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.156, allocations: 0.712 MB / 0.9402 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/1.156, allocations: 38.03 kB / 0.9402 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/1.158, allocations: 0.554 MB / 0.9408 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/1.158, allocations: 281.2 kB / 0.9411 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008127/1.159, allocations: 231.9 kB / 0.9413 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/1.161, allocations: 1.035 MB / 0.9423 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.161, allocations: 0.5 kB / 0.9423 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/1.161, allocations: 0 / 0.9423 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.814e-05/1.161, allocations: 0.5 kB / 0.9423 GB, free: 20.98 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002979/1.164, allocations: 1.333 MB / 0.9436 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.164, allocations: 8.906 kB / 0.9436 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/1.165, allocations: 185.9 kB / 0.9438 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.167, allocations: 0.804 MB / 0.9446 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/1.167, allocations: 48.97 kB / 0.9446 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.167, allocations: 60.36 kB / 0.9447 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.168, allocations: 0.8276 MB / 0.9455 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.168, allocations: 2.156 kB / 0.9455 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/1.168, allocations: 21.62 kB / 0.9455 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/1.168, allocations: 13.56 kB / 0.9455 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.169, allocations: 0.5784 MB / 0.9461 GB, free: 19.48 MB / 0.7325 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.005113/1.175, allocations: 4.258 MB / 0.9502 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/1.175, allocations: 454.7 kB / 0.9507 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/1.176, allocations: 345.9 kB / 0.951 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/1.176, allocations: 198.6 kB / 0.9512 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/1.177, allocations: 322.2 kB / 0.9515 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004752/1.177, allocations: 31.97 kB / 0.9515 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.484e-06/1.177, allocations: 3.938 kB / 0.9515 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.004892/1.182, allocations: 1.694 MB / 0.9532 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.182, allocations: 81.89 kB / 0.9533 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.184, allocations: 1.142 MB / 0.9544 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/1.184, allocations: 40.67 kB / 0.9544 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/1.185, allocations: 490.2 kB / 0.9549 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.185, allocations: 113.3 kB / 0.955 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/1.185, allocations: 7.484 kB / 0.955 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.185, allocations: 333.3 kB / 0.9553 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/1.186, allocations: 208 kB / 0.9555 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/1.186, allocations: 0.5181 MB / 0.956 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/1.187, allocations: 322.3 kB / 0.9563 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.187, allocations: 5.625 kB / 0.9563 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0024/1.189, allocations: 1.041 MB / 0.9573 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001861/1.19, allocations: 275.5 kB / 0.9576 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.19, allocations: 5.219 kB / 0.9576 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/1.191, allocations: 353.4 kB / 0.9579 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/1.191, allocations: 108.3 kB / 0.9581 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/1.192, allocations: 1.041 MB / 0.9591 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.193, allocations: 88.59 kB / 0.9592 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/1.194, allocations: 30.23 kB / 0.9592 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.194, allocations: 2.812 kB / 0.9592 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/1.195, allocations: 0.7952 MB / 0.96 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.195, allocations: 7.453 kB / 0.96 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/1.196, allocations: 254.6 kB / 0.9602 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/1.196, allocations: 91.19 kB / 0.9603 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/1.2, allocations: 3.043 MB / 0.9633 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.201, allocations: 88.86 kB / 0.9634 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.201, allocations: 25.38 kB / 0.9634 GB, free: 12.07 MB / 0.7325 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008895/1.202, allocations: 478.7 kB / 0.9638 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.202, allocations: 100.5 kB / 0.9639 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.204, allocations: 0.7899 MB / 0.9647 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.204, allocations: 6.375 kB / 0.9647 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.204, allocations: 0 / 0.9647 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/1.204, allocations: 2.438 kB / 0.9647 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/1.207, allocations: 1.741 MB / 0.9664 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.207, allocations: 3.031 kB / 0.9664 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/1.207, allocations: 67.81 kB / 0.9665 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/1.207, allocations: 231 kB / 0.9667 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/1.207, allocations: 15.67 kB / 0.9667 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009455/1.208, allocations: 1.004 MB / 0.9677 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.208, allocations: 3.312 kB / 0.9677 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.21, allocations: 0.9094 MB / 0.9686 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.21, allocations: 230.2 kB / 0.9688 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.21, allocations: 9.828 kB / 0.9688 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/1.211, allocations: 64.81 kB / 0.9689 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/1.211, allocations: 37.62 kB / 0.9689 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.211, allocations: 12.38 kB / 0.9689 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001044/1.212, allocations: 0.8078 MB / 0.9697 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.212, allocations: 0 / 0.9697 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001532/1.214, allocations: 483.5 kB / 0.9702 GB, free: 9.523 MB / 0.7325 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/1.214, allocations: 178.4 kB / 0.9703 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001934/1.216, allocations: 1.129 MB / 0.9714 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.216, allocations: 0 / 0.9714 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/1.216, allocations: 247.4 kB / 0.9717 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.219, allocations: 0.6438 MB / 0.9723 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.222, allocations: 2.043 MB / 0.9743 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/1.223, allocations: 1.184 MB / 0.9755 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.223, allocations: 63.42 kB / 0.9755 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.223, allocations: 0 / 0.9755 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of Templates: time 0.03397/1.257, allocations: 21.27 MB / 0.9963 GB, free: 11.68 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o] Error 1