Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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.000957/0.0009573, allocations: 98.89 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.00104/0.00104, allocations: 174.6 kB / 16.58 MB, free: 6.422 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.526/1.526, allocations: 223.2 MB / 240.6 MB, free: 5.387 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.631/2.631, allocations: 390.5 MB / 0.6662 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003826, allocations: 8 kB / 0.8154 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9246, allocations: 142.3 MB / 0.9544 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.2152/1.14, allocations: 146.7 MB / 1.098 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003909/1.144, allocations: 1.653 MB / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/1.144, allocations: 7.938 kB / 1.099 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/1.145, allocations: 111.2 kB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/1.146, allocations: 386.2 kB / 1.1 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/1.147, allocations: 339.1 kB / 1.1 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003496/1.151, allocations: 3.002 MB / 1.103 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003523/1.154, allocations: 2.156 MB / 1.105 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/1.157, allocations: 0.8598 MB / 1.106 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/1.158, allocations: 0.7079 MB / 1.107 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/1.158, allocations: 39.98 kB / 1.107 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/1.16, allocations: 0.5458 MB / 1.107 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/1.16, allocations: 282.9 kB / 1.108 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/1.16, allocations: 229.1 kB / 1.108 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.162, allocations: 1.037 MB / 1.109 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/1.162, allocations: 0 / 1.109 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.998e-06/1.162, allocations: 0 / 1.109 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.162, allocations: 7.938 kB / 1.109 GB, free: 1.785 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002256/1.164, allocations: 1.323 MB / 1.11 GB, free: 412 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.164, allocations: 12.03 kB / 1.11 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/1.165, allocations: 186.5 kB / 1.11 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.166, allocations: 0.8117 MB / 1.111 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/1.166, allocations: 41 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.167, allocations: 60 kB / 1.111 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/1.169, allocations: 0.8239 MB / 1.112 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/1.169, allocations: 3.938 kB / 1.112 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/1.169, allocations: 27.94 kB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.169, allocations: 12 kB / 1.112 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.17, allocations: 0.5735 MB / 1.113 GB, free: 13.72 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.005831/1.176, allocations: 4.259 MB / 1.117 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.177, allocations: 452.1 kB / 1.117 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/1.178, allocations: 346.8 kB / 1.117 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004267/1.178, allocations: 202.1 kB / 1.118 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/1.179, allocations: 319.1 kB / 1.118 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004909/1.18, allocations: 43.59 kB / 1.118 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/1.18, allocations: 0 / 1.118 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.008021/1.188, allocations: 1.7 MB / 1.12 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/1.188, allocations: 81.11 kB / 1.12 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.191, allocations: 1.143 MB / 1.121 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.191, allocations: 33.7 kB / 1.121 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/1.192, allocations: 488.5 kB / 1.121 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/1.192, allocations: 126.3 kB / 1.121 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/1.192, allocations: 12 kB / 1.122 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.192, allocations: 322 kB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/1.193, allocations: 205 kB / 1.122 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.194, allocations: 0.5228 MB / 1.123 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/1.194, allocations: 315.7 kB / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.194, allocations: 0 / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003108/1.198, allocations: 1.057 MB / 1.124 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000285/1.198, allocations: 279.9 kB / 1.124 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.198, allocations: 4 kB / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/1.2, allocations: 346.4 kB / 1.124 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/1.2, allocations: 103.8 kB / 1.125 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/1.202, allocations: 1.041 MB / 1.126 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.203, allocations: 95.77 kB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.203, allocations: 24 kB / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.203, allocations: 0 / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002117/1.205, allocations: 0.7903 MB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.205, allocations: 8 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009196/1.206, allocations: 248 kB / 1.127 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/1.207, allocations: 103.9 kB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/1.213, allocations: 3.043 MB / 1.13 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.214, allocations: 91.81 kB / 1.13 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/1.214, allocations: 23.98 kB / 1.13 GB, free: 11.17 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_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.001026/1.215, allocations: 480.6 kB / 1.13 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/1.216, allocations: 102.7 kB / 1.13 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/1.217, allocations: 0.7775 MB / 1.131 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.217, allocations: 8 kB / 1.131 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.217, allocations: 4 kB / 1.131 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.217, allocations: 0 / 1.131 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/1.22, allocations: 1.738 MB / 1.133 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.22, allocations: 4 kB / 1.133 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.221, allocations: 59.94 kB / 1.133 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005493/1.221, allocations: 254.5 kB / 1.133 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/1.221, allocations: 8 kB / 1.133 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.222, allocations: 1.009 MB / 1.134 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.222, allocations: 0 / 1.134 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/1.224, allocations: 0.8856 MB / 1.135 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/1.224, allocations: 235.7 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/1.224, allocations: 15.95 kB / 1.135 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/1.225, allocations: 71.77 kB / 1.135 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/1.225, allocations: 27.91 kB / 1.135 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/1.225, allocations: 19.92 kB / 1.135 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001385/1.227, allocations: 0.808 MB / 1.136 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.227, allocations: 0 / 1.136 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001759/1.228, allocations: 483.4 kB / 1.137 GB, free: 4.02 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_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.0005534/1.229, allocations: 172.8 kB / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002349/1.231, allocations: 1.138 MB / 1.138 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.231, allocations: 4 kB / 1.138 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/1.232, allocations: 247 kB / 1.138 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.235, allocations: 0.6322 MB / 1.139 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/1.239, allocations: 2.034 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.24, allocations: 1.189 MB / 1.142 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.241, allocations: 75.36 kB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of SimCode: time 1.363e-06/1.241, allocations: 0 / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.03687/1.277, allocations: 21.25 MB / 1.163 GB, free: 9.258 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile make -j1 -f Buildings_9_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/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.ParallelFlowOptimisedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o] Error 1