Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008599/0.0008599, allocations: 92 kB / 16.02 MB, free: 80 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.001258/0.001258, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.766/1.766, allocations: 205.4 MB / 223.1 MB, free: 5.445 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.932/1.932, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005611/0.0005611, allocations: 17.88 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3178, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.91/1.228, allocations: 157.3 MB / 0.9421 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00519/1.233, allocations: 3.577 MB / 0.9456 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/1.234, allocations: 9.094 kB / 0.9456 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006297/1.234, allocations: 139.3 kB / 0.9458 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/1.236, allocations: 0.4895 MB / 0.9463 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/1.238, allocations: 387.6 kB / 0.9466 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005059/1.243, allocations: 3.503 MB / 0.95 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/1.244, allocations: 0.7537 MB / 0.9508 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/1.247, allocations: 0.9231 MB / 0.9517 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.248, allocations: 0.7135 MB / 0.9524 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/1.248, allocations: 33.22 kB / 0.9524 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/1.25, allocations: 0.7977 MB / 0.9532 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/1.251, allocations: 281.5 kB / 0.9535 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009171/1.252, allocations: 0.5271 MB / 0.954 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/1.253, allocations: 1.002 MB / 0.955 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.253, allocations: 7.938 kB / 0.955 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.355e-06/1.253, allocations: 0 / 0.955 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.253, allocations: 1.281 kB / 0.955 GB, free: 15.71 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002594/1.256, allocations: 1.271 MB / 0.9562 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.256, allocations: 9.844 kB / 0.9562 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/1.257, allocations: 186.3 kB / 0.9564 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.258, allocations: 0.7984 MB / 0.9572 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/1.258, allocations: 46.67 kB / 0.9572 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.259, allocations: 60 kB / 0.9573 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.26, allocations: 0.7918 MB / 0.958 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.26, allocations: 5.531 kB / 0.9581 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/1.26, allocations: 28.31 kB / 0.9581 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/1.26, allocations: 14.22 kB / 0.9581 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/1.261, allocations: 0.5413 MB / 0.9586 GB, free: 14.18 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.005346/1.267, allocations: 4.601 MB / 0.9631 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/1.267, allocations: 429 kB / 0.9635 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/1.268, allocations: 259.1 kB / 0.9638 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/1.268, allocations: 196.6 kB / 0.964 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/1.269, allocations: 306.1 kB / 0.9642 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/1.269, allocations: 0 / 0.9642 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.004428/1.273, allocations: 1.342 MB / 0.9656 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/1.273, allocations: 87.52 kB / 0.9656 GB, free: 10 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.275, allocations: 1.122 MB / 0.9667 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/1.275, allocations: 38.48 kB / 0.9668 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/1.276, allocations: 485.8 kB / 0.9672 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.276, allocations: 107.5 kB / 0.9673 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/1.276, allocations: 46.38 kB / 0.9674 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.276, allocations: 323.4 kB / 0.9677 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/1.277, allocations: 215.2 kB / 0.9679 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/1.277, allocations: 0.5222 MB / 0.9684 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.279, allocations: 0.6404 MB / 0.969 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.279, allocations: 5.281 kB / 0.969 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00267/1.281, allocations: 1.054 MB / 0.9701 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002802/1.282, allocations: 288.8 kB / 0.9703 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.282, allocations: 6.406 kB / 0.9703 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/1.283, allocations: 358.8 kB / 0.9707 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/1.283, allocations: 69.94 kB / 0.9708 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/1.284, allocations: 1.008 MB / 0.9717 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.285, allocations: 99.48 kB / 0.9718 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/1.286, allocations: 22.38 kB / 0.9719 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.286, allocations: 6.406 kB / 0.9719 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001378/1.287, allocations: 0.7287 MB / 0.9726 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/1.287, allocations: 6.031 kB / 0.9726 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/1.287, allocations: 210.8 kB / 0.9728 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.288, allocations: 68.59 kB / 0.9728 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/1.292, allocations: 3.086 MB / 0.9759 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.293, allocations: 89.06 kB / 0.9759 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/1.293, allocations: 21.88 kB / 0.976 GB, free: 4.496 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008989/1.294, allocations: 476.2 kB / 0.9764 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.294, allocations: 102.1 kB / 0.9765 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.295, allocations: 0.7143 MB / 0.9772 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.295, allocations: 2.562 kB / 0.9772 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.295, allocations: 2.281 kB / 0.9772 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.295, allocations: 0 / 0.9772 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/1.298, allocations: 1.616 MB / 0.9788 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.298, allocations: 4.031 kB / 0.9788 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.298, allocations: 30.47 kB / 0.9788 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.298, allocations: 223.2 kB / 0.979 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.299, allocations: 11.34 kB / 0.9791 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009164/1.299, allocations: 0.9854 MB / 0.98 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.299, allocations: 2.344 kB / 0.98 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.301, allocations: 0.8433 MB / 0.9808 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/1.301, allocations: 218.2 kB / 0.9811 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.301, allocations: 8.594 kB / 0.9811 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/1.302, allocations: 55.05 kB / 0.9811 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/1.302, allocations: 34.7 kB / 0.9811 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/1.302, allocations: 18.75 kB / 0.9812 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001078/1.303, allocations: 0.7922 MB / 0.9819 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.303, allocations: 0 / 0.9819 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001911/1.305, allocations: 433.4 kB / 0.9824 GB, free: 1.496 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_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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000545/1.305, allocations: 174 kB / 0.9825 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002041/1.308, allocations: 1.078 MB / 0.9836 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.308, allocations: 7 kB / 0.9836 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/1.308, allocations: 229.9 kB / 0.9838 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.31, allocations: 464 kB / 0.9842 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/1.314, allocations: 2.11 MB / 0.9863 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.315, allocations: 1.184 MB / 0.9875 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.315, allocations: 60.92 kB / 0.9875 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of SimCode: time 3.286e-06/1.315, allocations: 0 / 0.9875 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.03568/1.351, allocations: 20.23 MB / 1.007 GB, free: 4.215 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1