Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009841, allocations: 99.59 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.0009637/0.0009638, allocations: 173.8 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.421/1.421, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003467, allocations: 12 kB / 0.504 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4994, allocations: 81.57 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02591/0.5254, allocations: 24.13 MB / 0.6072 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.5365, allocations: 6.654 MB / 0.6137 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.5379, allocations: 29.81 kB / 0.6138 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.5389, allocations: 284.5 kB / 0.614 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.5419, allocations: 0.8907 MB / 0.6149 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5443, allocations: 0.743 MB / 0.6156 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.5477, allocations: 2.377 MB / 0.618 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009093/0.5486, allocations: 469.3 kB / 0.6184 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.5498, allocations: 0.5902 MB / 0.619 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.5506, allocations: 0.5004 MB / 0.6195 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.972e-05/0.5507, allocations: 20.97 kB / 0.6195 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5522, allocations: 0.6083 MB / 0.6201 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.5524, allocations: 129.4 kB / 0.6202 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.5526, allocations: 159.4 kB / 0.6204 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.5538, allocations: 0.8694 MB / 0.6212 GB, free: 8.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5538, allocations: 0 / 0.6212 GB, free: 8.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5538, allocations: 0 / 0.6212 GB, free: 8.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5538, allocations: 0 / 0.6212 GB, free: 8.348 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001448/0.5553, allocations: 0.9289 MB / 0.6221 GB, free: 7.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5553, allocations: 9.281 kB / 0.6221 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.5556, allocations: 84.41 kB / 0.6222 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5568, allocations: 0.6943 MB / 0.6229 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.5569, allocations: 39.78 kB / 0.6229 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.5569, allocations: 49.81 kB / 0.623 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.5578, allocations: 0.4998 MB / 0.6235 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5578, allocations: 1.219 kB / 0.6235 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.5579, allocations: 16.91 kB / 0.6235 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.5579, allocations: 12.53 kB / 0.6235 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.5585, allocations: 326.3 kB / 0.6238 GB, free: 6.402 MB / 462.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.002898/0.5614, allocations: 2.733 MB / 0.6265 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.5617, allocations: 194 kB / 0.6266 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5619, allocations: 98.09 kB / 0.6267 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.5623, allocations: 343.8 kB / 0.6271 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5623, allocations: 37.22 kB / 0.6271 GB, free: 3.254 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.5623, allocations: 0 / 0.6271 GB, free: 3.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006296/0.563, allocations: 308.6 kB / 0.6274 GB, free: 3.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.563, allocations: 53.28 kB / 0.6275 GB, free: 3.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.5636, allocations: 0.5101 MB / 0.6279 GB, free: 2.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.5637, allocations: 29.7 kB / 0.628 GB, free: 2.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.564, allocations: 359.2 kB / 0.6283 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.564, allocations: 86.84 kB / 0.6284 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.5641, allocations: 4 kB / 0.6284 GB, free: 2.191 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5642, allocations: 358.8 kB / 0.6287 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.5644, allocations: 87.91 kB / 0.6288 GB, free: 1.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5646, allocations: 237.8 kB / 0.6291 GB, free: 1.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.5648, allocations: 129.4 kB / 0.6292 GB, free: 1.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5648, allocations: 4 kB / 0.6292 GB, free: 1.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005308/0.5654, allocations: 382 kB / 0.6296 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.5655, allocations: 224.9 kB / 0.6298 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5655, allocations: 4 kB / 0.6298 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5656, allocations: 8 kB / 0.6298 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.5658, allocations: 71.91 kB / 0.6298 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.5659, allocations: 11.94 kB / 0.6299 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.5662, allocations: 59.66 kB / 0.6299 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.5663, allocations: 12 kB / 0.6299 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.5663, allocations: 4 kB / 0.6299 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004432/0.5667, allocations: 315 kB / 0.6302 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5668, allocations: 7.938 kB / 0.6302 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.5668, allocations: 8 kB / 0.6302 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.567, allocations: 75.91 kB / 0.6303 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.567, allocations: 11.94 kB / 0.6303 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.5673, allocations: 55.94 kB / 0.6304 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.5673, allocations: 15.95 kB / 0.6304 GB, free: 16 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.5676, allocations: 277 kB / 0.6307 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.5677, allocations: 51.34 kB / 0.6307 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.5682, allocations: 286 kB / 0.631 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5682, allocations: 8 kB / 0.631 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5682, allocations: 0 / 0.631 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003543/0.5686, allocations: 380.9 kB / 0.6314 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.57, allocations: 1.059 MB / 0.6324 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.57, allocations: 4 kB / 0.6324 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.5702, allocations: 51.91 kB / 0.6324 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5702, allocations: 7.953 kB / 0.6324 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5702, allocations: 8 kB / 0.6325 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.5702, allocations: 4 kB / 0.6325 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5702, allocations: 3.938 kB / 0.6325 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.5708, allocations: 0.5263 MB / 0.633 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.5711, allocations: 180.2 kB / 0.6331 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.5711, allocations: 8 kB / 0.6332 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.5715, allocations: 31.91 kB / 0.6332 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.5715, allocations: 23.97 kB / 0.6332 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.5716, allocations: 19.98 kB / 0.6332 GB, free: 12.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.572, allocations: 391.1 kB / 0.6336 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.572, allocations: 0 / 0.6336 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001026/0.573, allocations: 347.3 kB / 0.6339 GB, free: 12.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005982/0.5736, allocations: 272.7 kB / 0.6342 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.5742, allocations: 398.1 kB / 0.6346 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5743, allocations: 0.625 kB / 0.6346 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5744, allocations: 111.9 kB / 0.6347 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.5761, allocations: 375 kB / 0.635 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.5779, allocations: 1.399 MB / 0.6364 GB, free: 9.578 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.5784, allocations: 0.8905 MB / 0.6373 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5785, allocations: 59.42 kB / 0.6373 GB, free: 8.602 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5785, allocations: 0 / 0.6373 GB, free: 8.602 MB / 478.1 MB Notification: Performance of Templates: time 0.01511/0.5936, allocations: 10.58 MB / 0.6477 GB, free: 14.14 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWaterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWaterCalcHelperMain.o] Error 1