Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.59 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.001579/0.001579, allocations: 180.3 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.529/1.529, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.625/2.625, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9271/0.9275, allocations: 142.3 MB / 0.9544 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1117/1.039, allocations: 94.58 MB / 1.047 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05549/1.095, allocations: 30.48 MB / 1.077 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00728/1.102, allocations: 135.1 kB / 1.077 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005984/1.108, allocations: 1.312 MB / 1.078 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01536/1.124, allocations: 3.929 MB / 1.082 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/1.134, allocations: 2.853 MB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01937/1.154, allocations: 10.63 MB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006848/1.161, allocations: 2.633 MB / 1.098 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009992/1.171, allocations: 3.174 MB / 1.101 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007031/1.178, allocations: 2.727 MB / 1.103 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001849/1.18, allocations: 160 kB / 1.103 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/1.187, allocations: 1.79 MB / 1.105 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002714/1.19, allocations: 0.9651 MB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002755/1.192, allocations: 0.8237 MB / 1.107 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009392/1.202, allocations: 5.132 MB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.202, allocations: 0 / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/1.202, allocations: 0 / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002005/1.202, allocations: 0 / 1.112 GB, free: 14.41 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01125/1.213, allocations: 4.129 MB / 1.116 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.213, allocations: 8.031 kB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008547/1.222, allocations: 1.606 MB / 1.118 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/1.233, allocations: 3.944 MB / 1.121 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/1.234, allocations: 184.8 kB / 1.122 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008241/1.235, allocations: 232 kB / 1.122 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005984/1.241, allocations: 2.708 MB / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/1.241, allocations: 0 / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.241, allocations: 87.98 kB / 1.125 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/1.241, allocations: 52 kB / 1.125 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/1.246, allocations: 2.127 MB / 1.127 GB, free: 15.08 MB / 0.8887 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.02008/1.266, allocations: 12.34 MB / 1.139 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/1.27, allocations: 1.684 MB / 1.14 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/1.272, allocations: 0.7985 MB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007362/1.279, allocations: 3.797 MB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/1.28, allocations: 43.56 kB / 1.145 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001436/1.281, allocations: 198.4 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=108): time 4.118e-06/1.281, allocations: 0 / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108): time 0.008973/1.29, allocations: 3.166 MB / 1.148 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.29, allocations: 64.41 kB / 1.148 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/1.295, allocations: 3.174 MB / 1.151 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000496/1.296, allocations: 57.7 kB / 1.151 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.298, allocations: 1.71 MB / 1.153 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/1.298, allocations: 386.4 kB / 1.153 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.298, allocations: 32 kB / 1.153 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.299, allocations: 373.9 kB / 1.154 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/1.301, allocations: 0.851 MB / 1.155 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/1.304, allocations: 1.51 MB / 1.156 GB, free: 15.31 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/1.306, allocations: 0.9822 MB / 1.157 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.306, allocations: 8 kB / 1.157 GB, free: 14.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007028/1.313, allocations: 2.851 MB / 1.16 GB, free: 11.44 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005584/1.313, allocations: 0.6037 MB / 1.16 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.314, allocations: 16 kB / 1.16 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/1.315, allocations: 339.1 kB / 1.161 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.317, allocations: 455.3 kB / 1.161 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/1.319, allocations: 2.596 MB / 1.164 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.322, allocations: 227.8 kB / 1.164 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/1.323, allocations: 139.9 kB / 1.164 GB, free: 6.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.323, allocations: 4 kB / 1.164 GB, free: 6.738 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006475/1.329, allocations: 2.845 MB / 1.167 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.329, allocations: 16 kB / 1.167 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/1.332, allocations: 0.6599 MB / 1.168 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.333, allocations: 423.4 kB / 1.168 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.348, allocations: 10.62 MB / 1.178 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/1.352, allocations: 223.7 kB / 1.179 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/1.352, allocations: 120.1 kB / 1.179 GB, free: 7.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 192 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002242/1.354, allocations: 0.8129 MB / 1.179 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.355, allocations: 351.5 kB / 1.18 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/1.362, allocations: 2.701 MB / 1.182 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/1.362, allocations: 19.98 kB / 1.182 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.362, allocations: 4 kB / 1.182 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.362, allocations: 7.969 kB / 1.182 GB, free: 3.23 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 postOpt removeSimpleEquations (simulation): time 0.01075/1.373, allocations: 4.868 MB / 1.187 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.373, allocations: 4.062 kB / 1.187 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.374, allocations: 271.6 kB / 1.187 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008576/1.375, allocations: 343 kB / 1.188 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/1.375, allocations: 43.95 kB / 1.188 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.377, allocations: 2.498 MB / 1.19 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.377, allocations: 0 / 1.19 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/1.383, allocations: 2.448 MB / 1.193 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.385, allocations: 0.5782 MB / 1.193 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/1.385, allocations: 20 kB / 1.193 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.387, allocations: 223.6 kB / 1.193 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.387, allocations: 85.19 kB / 1.194 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.387, allocations: 63.94 kB / 1.194 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003376/1.391, allocations: 2.105 MB / 1.196 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.391, allocations: 0 / 1.196 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005396/1.396, allocations: 1.734 MB / 1.197 GB, free: 3.695 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/1.398, allocations: 0.6779 MB / 1.198 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008736/1.406, allocations: 3.996 MB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.406, allocations: 0 / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.409, allocations: 0.9523 MB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006687/1.415, allocations: 1.539 MB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.427, allocations: 6.993 MB / 1.211 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.43, allocations: 2.157 MB / 1.213 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.431, allocations: 283.3 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of SimCode: time 1.332e-06/1.431, allocations: 8 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.7823/2.213, allocations: 125 MB / 1.336 GB, free: 198 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Movers.Validation.PumpCurveConstructionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstructionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstructionCalcHelperMain.o] Error 1