Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008425, allocations: 99.83 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.00106/0.00106, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.55/1.55, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.116/1.116, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 15.98 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 83.41 MB / 0.5981 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5944/0.8084, allocations: 173.4 MB / 0.7674 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.8191, allocations: 5.385 MB / 0.7726 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.8209, allocations: 31.81 kB / 0.7726 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.8225, allocations: 397.5 kB / 0.773 GB, free: 9.016 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004893/0.8274, allocations: 1.372 MB / 0.7744 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.8304, allocations: 0.8461 MB / 0.7752 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.8352, allocations: 3.435 MB / 0.7785 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.8366, allocations: 0.8015 MB / 0.7793 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.8387, allocations: 0.8791 MB / 0.7802 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.8402, allocations: 0.9107 MB / 0.7811 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.8403, allocations: 48 kB / 0.7811 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.8428, allocations: 0.7093 MB / 0.7818 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.8434, allocations: 494.6 kB / 0.7823 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.8439, allocations: 281.1 kB / 0.7826 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.8459, allocations: 1.711 MB / 0.7842 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8459, allocations: 4 kB / 0.7842 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8459, allocations: 0 / 0.7842 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8459, allocations: 0 / 0.7842 GB, free: 13.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002401/0.8483, allocations: 1.382 MB / 0.7856 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.8484, allocations: 12.03 kB / 0.7856 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.8504, allocations: 330.2 kB / 0.7859 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.8519, allocations: 0.8479 MB / 0.7867 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.8519, allocations: 74 kB / 0.7868 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.8521, allocations: 96 kB / 0.7869 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.8541, allocations: 1.085 MB / 0.788 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.8542, allocations: 3.938 kB / 0.788 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.8543, allocations: 40 kB / 0.788 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.8543, allocations: 38 kB / 0.788 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.8562, allocations: 0.9993 MB / 0.789 GB, free: 8.516 MB / 0.6075 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.007339/0.8635, allocations: 4.257 MB / 0.7932 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.8644, allocations: 0.6001 MB / 0.7938 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.865, allocations: 351 kB / 0.7941 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.8652, allocations: 105.5 kB / 0.7942 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.8653, allocations: 43 kB / 0.7942 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.216e-06/0.8653, allocations: 3.938 kB / 0.7942 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004643/0.8699, allocations: 2.224 MB / 0.7964 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.87, allocations: 59.97 kB / 0.7965 GB, free: 436 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.8712, allocations: 0.8765 MB / 0.7973 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.8712, allocations: 37.7 kB / 0.7974 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.8717, allocations: 0.5145 MB / 0.7979 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.8719, allocations: 193.2 kB / 0.798 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.8719, allocations: 16 kB / 0.7981 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8721, allocations: 333.9 kB / 0.7984 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.8726, allocations: 293.8 kB / 0.7987 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.8733, allocations: 444.8 kB / 0.7991 GB, free: 13.67 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.8761, allocations: 1.099 MB / 0.8002 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8762, allocations: 0 / 0.8002 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001541/0.8777, allocations: 0.9298 MB / 0.8011 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.8777, allocations: 8 kB / 0.8011 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8778, allocations: 7.938 kB / 0.8011 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.878, allocations: 94.77 kB / 0.8012 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.8787, allocations: 175.8 kB / 0.8013 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.8824, allocations: 4.283 MB / 0.8055 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8836, allocations: 80.64 kB / 0.8056 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.8837, allocations: 24 kB / 0.8056 GB, free: 6.539 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009076/0.8846, allocations: 345.5 kB / 0.8059 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.8848, allocations: 98.92 kB / 0.806 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.8851, allocations: 109.2 kB / 0.8061 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.8851, allocations: 12 kB / 0.8062 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.8851, allocations: 1.625 kB / 0.8062 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.8864, allocations: 0.7769 MB / 0.8069 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.8899, allocations: 2 MB / 0.8089 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.8899, allocations: 8.094 kB / 0.8089 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.8905, allocations: 147.8 kB / 0.809 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.8907, allocations: 40.83 kB / 0.8091 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.8907, allocations: 23.94 kB / 0.8091 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.8919, allocations: 1.479 MB / 0.8105 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.892, allocations: 4 kB / 0.8105 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.8937, allocations: 1.23 MB / 0.8117 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.8942, allocations: 251.9 kB / 0.812 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.8943, allocations: 15.98 kB / 0.812 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.895, allocations: 72.67 kB / 0.8121 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.8952, allocations: 56.06 kB / 0.8121 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.8952, allocations: 31.98 kB / 0.8121 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008038/0.896, allocations: 0.6005 MB / 0.8127 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8961, allocations: 0 / 0.8127 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001049/0.8971, allocations: 308 kB / 0.813 GB, free: 14.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.8976, allocations: 206.5 kB / 0.8132 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.8991, allocations: 1.007 MB / 0.8142 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8992, allocations: 0 / 0.8142 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.8998, allocations: 454.2 kB / 0.8146 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.9024, allocations: 0.6206 MB / 0.8152 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.9059, allocations: 2.601 MB / 0.8178 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.9067, allocations: 1.166 MB / 0.8189 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.9069, allocations: 75.44 kB / 0.819 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.9069, allocations: 0 / 0.819 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of Templates: time 0.03664/0.9436, allocations: 26.87 MB / 0.8452 GB, free: 13.66 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1