Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 102.4 kB / 15.71 MB, free: 448 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.001167/0.001167, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.483/1.483, allocations: 223.2 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 16.55 kB / 0.504 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5362, allocations: 81.56 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2434/0.7796, allocations: 201.5 MB / 0.7804 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.7915, allocations: 5.398 MB / 0.7857 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.7939, allocations: 31.81 kB / 0.7857 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.7959, allocations: 401.4 kB / 0.7861 GB, free: 0.8477 MB / 0.6075 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.005252/0.8012, allocations: 1.365 MB / 0.7874 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.8048, allocations: 0.8504 MB / 0.7883 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.8108, allocations: 3.436 MB / 0.7916 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.8128, allocations: 0.7152 MB / 0.7923 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.8154, allocations: 0.8907 MB / 0.7932 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.8176, allocations: 0.8795 MB / 0.794 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.8179, allocations: 44 kB / 0.7941 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.821, allocations: 0.6937 MB / 0.7948 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.8218, allocations: 382.8 kB / 0.7951 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.8226, allocations: 261.1 kB / 0.7954 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.8253, allocations: 1.465 MB / 0.7968 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8254, allocations: 4 kB / 0.7968 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8254, allocations: 0 / 0.7968 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.068e-05/0.8254, allocations: 3.938 kB / 0.7968 GB, free: 5.836 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002507/0.8279, allocations: 1.297 MB / 0.7981 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.828, allocations: 8.031 kB / 0.7981 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.8299, allocations: 314.2 kB / 0.7984 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.8312, allocations: 0.7896 MB / 0.7991 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.8313, allocations: 66 kB / 0.7992 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.8314, allocations: 88 kB / 0.7993 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.833, allocations: 0.9092 MB / 0.8002 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.8331, allocations: 7.922 kB / 0.8002 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.8332, allocations: 43.95 kB / 0.8002 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.8332, allocations: 30 kB / 0.8003 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.8347, allocations: 0.8431 MB / 0.8011 GB, free: 1.348 MB / 0.6231 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.005291/0.84, allocations: 3.536 MB / 0.8045 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.8408, allocations: 0.5026 MB / 0.805 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.8412, allocations: 295.5 kB / 0.8053 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.8414, allocations: 105.5 kB / 0.8054 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8415, allocations: 50.94 kB / 0.8055 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.8415, allocations: 0 / 0.8055 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003573/0.8451, allocations: 1.891 MB / 0.8073 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8451, allocations: 63.73 kB / 0.8074 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.8461, allocations: 0.798 MB / 0.8081 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.8462, allocations: 37.7 kB / 0.8082 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.8465, allocations: 471.3 kB / 0.8086 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.8467, allocations: 177.5 kB / 0.8088 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.8467, allocations: 8 kB / 0.8088 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8469, allocations: 334 kB / 0.8091 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.8473, allocations: 249.2 kB / 0.8094 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.8479, allocations: 388.6 kB / 0.8097 GB, free: 8.039 MB / 0.6387 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.002592/0.8505, allocations: 0.9823 MB / 0.8107 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8505, allocations: 8 kB / 0.8107 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001316/0.8518, allocations: 0.7888 MB / 0.8115 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8518, allocations: 15.88 kB / 0.8115 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8519, allocations: 4 kB / 0.8115 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.852, allocations: 69.67 kB / 0.8116 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.8527, allocations: 163.8 kB / 0.8117 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.8551, allocations: 2.881 MB / 0.8145 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.856, allocations: 59.92 kB / 0.8146 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.8561, allocations: 31.98 kB / 0.8146 GB, free: 2.746 MB / 0.6387 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: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005394/0.8566, allocations: 305.6 kB / 0.8149 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8568, allocations: 94.88 kB / 0.815 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.857, allocations: 100.7 kB / 0.8151 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.857, allocations: 7.953 kB / 0.8151 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.857, allocations: 0 / 0.8151 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.858, allocations: 0.8427 MB / 0.8159 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3657/1.224, allocations: 1.799 MB / 0.8177 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.224, allocations: 3.594 kB / 0.8177 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/1.225, allocations: 138.2 kB / 0.8178 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/1.225, allocations: 38.19 kB / 0.8179 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.225, allocations: 19.62 kB / 0.8179 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/1.226, allocations: 1.474 MB / 0.8193 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.226, allocations: 3.969 kB / 0.8193 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.228, allocations: 1.107 MB / 0.8204 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/1.228, allocations: 232.2 kB / 0.8206 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.228, allocations: 16.08 kB / 0.8206 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/1.229, allocations: 66.5 kB / 0.8207 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.229, allocations: 43.25 kB / 0.8207 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/1.229, allocations: 31.39 kB / 0.8208 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008228/1.23, allocations: 0.5526 MB / 0.8213 GB, free: 218 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.23, allocations: 0 / 0.8213 GB, free: 218 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001005/1.231, allocations: 277.3 kB / 0.8216 GB, free: 218 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (47): * Single equations (assignments): 46 * 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.0004497/1.231, allocations: 194.3 kB / 0.8218 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.233, allocations: 0.8008 MB / 0.8225 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.233, allocations: 2.469 kB / 0.8225 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/1.233, allocations: 415.9 kB / 0.8229 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.236, allocations: 0.5729 MB / 0.8235 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/1.24, allocations: 2.221 MB / 0.8257 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/1.241, allocations: 1.088 MB / 0.8267 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.241, allocations: 71.48 kB / 0.8268 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.241, allocations: 0 / 0.8268 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.03344/1.274, allocations: 21.84 MB / 0.8481 GB, free: 205.4 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowCalcHelperMain.o] Error 1