Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008235, allocations: 91.33 kB / 16.33 MB, free: 6.41 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.0008661/0.0008663, allocations: 185.9 kB / 17.22 MB, free: 6.293 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.441/1.441, allocations: 223.2 MB / 241.2 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 114.4 MB / 406.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 12 kB / 494.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 77.27 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02199/0.2188, allocations: 17.76 MB / 0.5757 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008705/0.2276, allocations: 4.86 MB / 0.5804 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009554/0.2286, allocations: 15.88 kB / 0.5804 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.2294, allocations: 178.7 kB / 0.5806 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.2315, allocations: 0.6203 MB / 0.5812 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.2337, allocations: 0.7329 MB / 0.5819 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.2362, allocations: 1.681 MB / 0.5836 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.2369, allocations: 407.1 kB / 0.584 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.238, allocations: 0.5407 MB / 0.5845 GB, free: 76 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3958/0.6339, allocations: 499.7 kB / 0.585 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.6341, allocations: 32.03 kB / 0.585 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.6359, allocations: 0.5934 MB / 0.5856 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.6361, allocations: 129.7 kB / 0.5857 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.6364, allocations: 156.2 kB / 0.5858 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.6379, allocations: 0.7429 MB / 0.5866 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.6379, allocations: 0.6094 kB / 0.5866 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6379, allocations: 2.781 kB / 0.5866 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.6379, allocations: 0 / 0.5866 GB, free: 12.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0021/0.64, allocations: 0.9959 MB / 0.5875 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6401, allocations: 9.562 kB / 0.5875 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.6403, allocations: 86 kB / 0.5876 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008308/0.6411, allocations: 485.8 kB / 0.5881 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.6412, allocations: 34.78 kB / 0.5881 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.6413, allocations: 48.31 kB / 0.5882 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.6426, allocations: 0.6371 MB / 0.5888 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6427, allocations: 2.719 kB / 0.5888 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.6427, allocations: 17.84 kB / 0.5888 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.6428, allocations: 18.14 kB / 0.5888 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.644, allocations: 0.5126 MB / 0.5893 GB, free: 11.23 MB / 446.1 MB 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.004628/0.6487, allocations: 3.206 MB / 0.5925 GB, free: 25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.6495, allocations: 353.5 kB / 0.5928 GB, free: 24.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.6501, allocations: 243.9 kB / 0.593 GB, free: 24.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/0.6505, allocations: 349.6 kB / 0.5934 GB, free: 24.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.6505, allocations: 44.25 kB / 0.5934 GB, free: 24.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/0.6506, allocations: 0 / 0.5934 GB, free: 24.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002452/0.653, allocations: 0.8616 MB / 0.5943 GB, free: 24.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6531, allocations: 56.23 kB / 0.5943 GB, free: 24.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.654, allocations: 0.585 MB / 0.5949 GB, free: 24.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.6541, allocations: 31.8 kB / 0.5949 GB, free: 24.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.6544, allocations: 328.1 kB / 0.5952 GB, free: 23.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6545, allocations: 134.8 kB / 0.5953 GB, free: 23.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.6546, allocations: 19.14 kB / 0.5954 GB, free: 23.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.6548, allocations: 373.1 kB / 0.5957 GB, free: 23.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.6554, allocations: 213.4 kB / 0.5959 GB, free: 23.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.656, allocations: 377.7 kB / 0.5963 GB, free: 23.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.6566, allocations: 260.1 kB / 0.5965 GB, free: 23.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6566, allocations: 1.625 kB / 0.5965 GB, free: 23.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001885/0.6585, allocations: 0.7253 MB / 0.5972 GB, free: 23.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.6587, allocations: 224.1 kB / 0.5975 GB, free: 23.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6587, allocations: 4.906 kB / 0.5975 GB, free: 23.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/0.6595, allocations: 148.6 kB / 0.5976 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.6602, allocations: 153.5 kB / 0.5977 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007849/0.661, allocations: 0.637 MB / 0.5984 GB, free: 22.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.6618, allocations: 101.5 kB / 0.5985 GB, free: 22.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.6619, allocations: 30.91 kB / 0.5985 GB, free: 22.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6619, allocations: 2.875 kB / 0.5985 GB, free: 22.46 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/0.6634, allocations: 0.6246 MB / 0.5991 GB, free: 22.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6635, allocations: 5.156 kB / 0.5991 GB, free: 22.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6635, allocations: 8.25 kB / 0.5991 GB, free: 22.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.6641, allocations: 164.5 kB / 0.5993 GB, free: 22.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6641, allocations: 7.328 kB / 0.5993 GB, free: 22.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.6648, allocations: 95.27 kB / 0.5994 GB, free: 22.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.6649, allocations: 34.22 kB / 0.5994 GB, free: 22.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004627/0.6653, allocations: 277.4 kB / 0.5997 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.6655, allocations: 64.39 kB / 0.5997 GB, free: 22.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.6672, allocations: 0.6764 MB / 0.6004 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.6672, allocations: 8.453 kB / 0.6004 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6672, allocations: 1.938 kB / 0.6004 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6672, allocations: 2.344 kB / 0.6004 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.6702, allocations: 1.397 MB / 0.6018 GB, free: 21.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.6702, allocations: 14.33 kB / 0.6018 GB, free: 21.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.6706, allocations: 89.14 kB / 0.6019 GB, free: 21.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/0.6711, allocations: 132.1 kB / 0.602 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.6712, allocations: 16.53 kB / 0.602 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006621/0.6718, allocations: 0.6342 MB / 0.6026 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6719, allocations: 2.203 kB / 0.6026 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6733, allocations: 0.7329 MB / 0.6034 GB, free: 20.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.6737, allocations: 201.8 kB / 0.6035 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.6738, allocations: 10.3 kB / 0.6036 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.6742, allocations: 54.69 kB / 0.6036 GB, free: 20.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.6743, allocations: 38.48 kB / 0.6036 GB, free: 20.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.6744, allocations: 18.2 kB / 0.6037 GB, free: 20.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.6751, allocations: 402.6 kB / 0.604 GB, free: 20.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6751, allocations: 1.062 kB / 0.604 GB, free: 20.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001657/0.6767, allocations: 388.4 kB / 0.6044 GB, free: 20.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/0.6775, allocations: 302.4 kB / 0.6047 GB, free: 20.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.68, allocations: 0.9079 MB / 0.6056 GB, free: 20.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.68, allocations: 4 kB / 0.6056 GB, free: 20.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.6807, allocations: 300.5 kB / 0.6059 GB, free: 20.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.6823, allocations: 259.6 kB / 0.6061 GB, free: 20.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.6846, allocations: 1.33 MB / 0.6074 GB, free: 19.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.6852, allocations: 0.9142 MB / 0.6083 GB, free: 19.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.6854, allocations: 64.14 kB / 0.6084 GB, free: 19.06 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6854, allocations: 1.375 kB / 0.6084 GB, free: 19.06 MB / 462.1 MB Notification: Performance of Templates: time 0.02491/0.7104, allocations: 12.96 MB / 0.621 GB, free: 14.38 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1