Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 96.11 kB / 16.33 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 189.4 kB / 17.23 MB, free: 5.887 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.649/1.649, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7341/0.7341, allocations: 114.3 MB / 406.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12.88 kB / 494.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 77.26 MB / 0.5583 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5667/0.7864, allocations: 146.7 MB / 0.7016 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005106/0.7915, allocations: 3.372 MB / 0.7049 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.792, allocations: 11.88 kB / 0.7049 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.7927, allocations: 107.2 kB / 0.705 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.794, allocations: 394.1 kB / 0.7054 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.7953, allocations: 366 kB / 0.7057 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.7986, allocations: 2.999 MB / 0.7087 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.8, allocations: 0.687 MB / 0.7093 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.8021, allocations: 0.8714 MB / 0.7102 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.8031, allocations: 0.7079 MB / 0.7109 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.8032, allocations: 32 kB / 0.7109 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.8046, allocations: 0.5574 MB / 0.7115 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.805, allocations: 286.9 kB / 0.7117 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.8054, allocations: 233.1 kB / 0.7119 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.8067, allocations: 1.017 MB / 0.7129 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.8067, allocations: 0 / 0.7129 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8067, allocations: 4 kB / 0.7129 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8067, allocations: 0 / 0.7129 GB, free: 11.41 MB / 0.5294 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.002105/0.8088, allocations: 1.304 MB / 0.7142 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8089, allocations: 12.03 kB / 0.7142 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.8096, allocations: 186.5 kB / 0.7144 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.811, allocations: 0.7963 MB / 0.7152 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.811, allocations: 41 kB / 0.7152 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.8111, allocations: 56 kB / 0.7153 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.8123, allocations: 0.8042 MB / 0.7161 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.8124, allocations: 4 kB / 0.7161 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.8124, allocations: 24.88 kB / 0.7161 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.8125, allocations: 12 kB / 0.7161 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.8134, allocations: 0.5409 MB / 0.7166 GB, free: 7.457 MB / 0.5294 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.004806/0.8182, allocations: 4.618 MB / 0.7211 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.819, allocations: 430.3 kB / 0.7215 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.8194, allocations: 257.7 kB / 0.7218 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.8197, allocations: 190.2 kB / 0.722 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005537/0.8203, allocations: 305.1 kB / 0.7223 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/0.8203, allocations: 0 / 0.7223 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.003982/0.8243, allocations: 1.336 MB / 0.7236 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.8244, allocations: 81.11 kB / 0.7236 GB, free: 15.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.8259, allocations: 1.114 MB / 0.7247 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.826, allocations: 49.64 kB / 0.7248 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.8264, allocations: 488.1 kB / 0.7253 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8265, allocations: 114.4 kB / 0.7254 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.8266, allocations: 4 kB / 0.7254 GB, free: 13.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8267, allocations: 333.9 kB / 0.7257 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.8271, allocations: 184.7 kB / 0.7259 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.8277, allocations: 0.5018 MB / 0.7263 GB, free: 12.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.8281, allocations: 290.5 kB / 0.7266 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8281, allocations: 4 kB / 0.7266 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002111/0.8303, allocations: 0.9829 MB / 0.7276 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002694/0.8305, allocations: 279.1 kB / 0.7279 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.8306, allocations: 4 kB / 0.7279 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.8319, allocations: 342.4 kB / 0.7282 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.8322, allocations: 67.91 kB / 0.7282 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.8335, allocations: 1.011 MB / 0.7292 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/0.8345, allocations: 103.5 kB / 0.7293 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.8346, allocations: 24 kB / 0.7294 GB, free: 9.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.8346, allocations: 5.875 kB / 0.7294 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/0.836, allocations: 0.7321 MB / 0.7301 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.836, allocations: 4 kB / 0.7301 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.8365, allocations: 218.8 kB / 0.7303 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.8367, allocations: 63.95 kB / 0.7304 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.8407, allocations: 3.116 MB / 0.7334 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/0.8417, allocations: 99.52 kB / 0.7335 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.8417, allocations: 20 kB / 0.7335 GB, free: 5.207 MB / 0.545 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 (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007337/0.8425, allocations: 476.5 kB / 0.734 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.8426, allocations: 102.7 kB / 0.7341 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.8439, allocations: 0.7142 MB / 0.7348 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8439, allocations: 0 / 0.7348 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8439, allocations: 4 kB / 0.7348 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.8439, allocations: 4 kB / 0.7348 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.8465, allocations: 1.614 MB / 0.7363 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.8466, allocations: 8.125 kB / 0.7364 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.8467, allocations: 23.98 kB / 0.7364 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.8472, allocations: 224.6 kB / 0.7366 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.8472, allocations: 16.2 kB / 0.7366 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.8484, allocations: 0.9795 MB / 0.7376 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8484, allocations: 3.953 kB / 0.7376 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.8498, allocations: 0.8292 MB / 0.7384 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.8503, allocations: 227.8 kB / 0.7386 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.8504, allocations: 12 kB / 0.7386 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.8508, allocations: 55.8 kB / 0.7387 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.851, allocations: 27.97 kB / 0.7387 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.851, allocations: 15.98 kB / 0.7387 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001095/0.8521, allocations: 0.7838 MB / 0.7395 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8521, allocations: 0 / 0.7395 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001543/0.8536, allocations: 455.4 kB / 0.7399 GB, free: 14.46 MB / 0.5606 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006401/0.8543, allocations: 176.7 kB / 0.7401 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.8564, allocations: 1.051 MB / 0.7411 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8564, allocations: 4 kB / 0.7411 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.8568, allocations: 234.9 kB / 0.7413 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.8588, allocations: 459.5 kB / 0.7418 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.8621, allocations: 2.035 MB / 0.7437 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8632, allocations: 1.185 MB / 0.7449 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.8634, allocations: 67.42 kB / 0.745 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of SimCode: time 2.455e-06/0.8634, allocations: 0 / 0.745 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of Templates: time 0.03106/0.8944, allocations: 20.17 MB / 0.7647 GB, free: 5.062 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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 OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1