Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_9_Buildings.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.001132/0.001132, allocations: 102.7 kB / 15.71 MB, free: 460 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.001569/0.001569, allocations: 175.5 kB / 16.58 MB, free: 6.398 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.581/2.581, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8632/0.8635, allocations: 142.3 MB / 0.9544 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01903/0.8826, allocations: 17.78 MB / 0.9718 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008626/0.8913, allocations: 4.848 MB / 0.9765 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.8924, allocations: 15.62 kB / 0.9765 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.8932, allocations: 185.3 kB / 0.9767 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.8954, allocations: 0.6192 MB / 0.9773 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.8976, allocations: 0.7443 MB / 0.978 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.9002, allocations: 1.691 MB / 0.9797 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.9009, allocations: 416.1 kB / 0.9801 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.9021, allocations: 0.5363 MB / 0.9806 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.9029, allocations: 499.8 kB / 0.9811 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.732e-05/0.903, allocations: 32.55 kB / 0.9811 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.9045, allocations: 0.5942 MB / 0.9817 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.9046, allocations: 127.2 kB / 0.9818 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.9049, allocations: 154.1 kB / 0.982 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.906, allocations: 0.7457 MB / 0.9827 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.906, allocations: 4 kB / 0.9827 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.326e-06/0.906, allocations: 0 / 0.9827 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.906, allocations: 1.094 kB / 0.9827 GB, free: 1.98 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001942/0.908, allocations: 0.9927 MB / 0.9837 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.908, allocations: 9.062 kB / 0.9837 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.9082, allocations: 87.23 kB / 0.9838 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.909, allocations: 489.6 kB / 0.9842 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.9091, allocations: 37.44 kB / 0.9843 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.9092, allocations: 52.45 kB / 0.9843 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.9103, allocations: 0.6338 MB / 0.9849 GB, free: 228 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.9104, allocations: 9.359 kB / 0.9849 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.9105, allocations: 17.81 kB / 0.985 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.9105, allocations: 11.31 kB / 0.985 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.9116, allocations: 0.5138 MB / 0.9855 GB, free: 15.96 MB / 0.7481 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.003797/0.9154, allocations: 3.196 MB / 0.9886 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.9162, allocations: 358.8 kB / 0.9889 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.9167, allocations: 242 kB / 0.9892 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.9171, allocations: 348.4 kB / 0.9895 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.9171, allocations: 38.55 kB / 0.9895 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.9171, allocations: 3.938 kB / 0.9895 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38): time 0.002239/0.9194, allocations: 0.8688 MB / 0.9904 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.9194, allocations: 55.41 kB / 0.9904 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.9201, allocations: 0.5861 MB / 0.991 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.9202, allocations: 33.7 kB / 0.991 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.9204, allocations: 328.5 kB / 0.9914 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.9205, allocations: 134.1 kB / 0.9915 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.9206, allocations: 12 kB / 0.9915 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.9208, allocations: 370.8 kB / 0.9918 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.9212, allocations: 221.2 kB / 0.9921 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.9218, allocations: 373.8 kB / 0.9924 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.9224, allocations: 260.6 kB / 0.9927 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9224, allocations: 0 / 0.9927 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001429/0.9238, allocations: 0.7384 MB / 0.9934 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.924, allocations: 220.1 kB / 0.9936 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.924, allocations: 7.984 kB / 0.9936 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.9246, allocations: 140.8 kB / 0.9937 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.9252, allocations: 159.8 kB / 0.9939 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007255/0.926, allocations: 0.6264 MB / 0.9945 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/0.927, allocations: 107.3 kB / 0.9946 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9271, allocations: 31.98 kB / 0.9946 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9271, allocations: 4 kB / 0.9946 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/0.929, allocations: 0.6272 MB / 0.9952 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9291, allocations: 8.031 kB / 0.9953 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.9291, allocations: 8 kB / 0.9953 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.93, allocations: 163.8 kB / 0.9954 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.9301, allocations: 7.984 kB / 0.9954 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.931, allocations: 91.45 kB / 0.9955 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.9311, allocations: 31.98 kB / 0.9955 GB, free: 5.254 MB / 0.7481 GB 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.0004852/0.9316, allocations: 272.9 kB / 0.9958 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.9317, allocations: 67.2 kB / 0.9959 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.9342, allocations: 0.6737 MB / 0.9965 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.9342, allocations: 8 kB / 0.9965 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.9342, allocations: 0 / 0.9965 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9342, allocations: 4.078 kB / 0.9965 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/0.9383, allocations: 1.402 MB / 0.9979 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9383, allocations: 0 / 0.9979 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.9389, allocations: 83.89 kB / 0.998 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007299/0.9396, allocations: 132.8 kB / 0.9981 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.9397, allocations: 11.95 kB / 0.9981 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009717/0.9407, allocations: 0.642 MB / 0.9988 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9407, allocations: 0 / 0.9988 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.9428, allocations: 0.7319 MB / 0.9995 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.9433, allocations: 196.1 kB / 0.9997 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.9434, allocations: 15.94 kB / 0.9997 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.9442, allocations: 51.95 kB / 0.9997 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9443, allocations: 31.95 kB / 0.9997 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.9444, allocations: 23.98 kB / 0.9998 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007852/0.9452, allocations: 399 kB / 1 GB, free: 376 kB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9452, allocations: 0 / 1 GB, free: 376 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001904/0.9471, allocations: 391.3 kB / 1.001 GB, free: 15.98 MB / 0.7637 GB 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.0008835/0.948, allocations: 308.3 kB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.9515, allocations: 0.9214 MB / 1.002 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9515, allocations: 0 / 1.002 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.9526, allocations: 295.9 kB / 1.002 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.955, allocations: 265.5 kB / 1.002 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.9583, allocations: 1.324 MB / 1.004 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.959, allocations: 0.908 MB / 1.004 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.9593, allocations: 67.34 kB / 1.004 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of SimCode: time 8.31e-07/0.9593, allocations: 4 kB / 1.005 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of Templates: time 0.02824/0.9876, allocations: 12.96 MB / 1.017 GB, free: 14.97 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1