Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.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(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 102.6 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.001519/0.00152, allocations: 175.5 kB / 16.58 MB, free: 6.402 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.655/1.655, 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/Chemical 1.4.0/package.mo): time 0.3163/0.3163, allocations: 15.26 MB / 307 MB, free: 15.7 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8 kB / 372.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3809, allocations: 54.61 MB / 426.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007545/0.3885, allocations: 6.542 MB / 433.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.4037, allocations: 13.35 MB / 446.6 MB, free: 28.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.405, allocations: 24.72 kB / 446.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.4059, allocations: 304.3 kB / 446.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.4088, allocations: 1.02 MB / 448 MB, free: 28.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005/0.4138, allocations: 1.579 MB / 449.5 MB, free: 27.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.4159, allocations: 1.468 MB / 451 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.4168, allocations: 0.748 MB / 451.7 MB, free: 26.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.4175, allocations: 0.6063 MB / 452.4 MB, free: 25.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007779/0.4183, allocations: 0.7462 MB / 453.1 MB, free: 25.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.4184, allocations: 78.22 kB / 453.2 MB, free: 25.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.4234, allocations: 1.344 MB / 454.5 MB, free: 25.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.4237, allocations: 260.3 kB / 454.8 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.424, allocations: 271.5 kB / 455 MB, free: 25.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.4274, allocations: 2.31 MB / 457.4 MB, free: 24.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.4274, allocations: 0 / 457.4 MB, free: 24.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4274, allocations: 0 / 457.4 MB, free: 24.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4275, allocations: 0 / 457.4 MB, free: 24.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002666/0.4301, allocations: 1.568 MB / 458.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4302, allocations: 11.94 kB / 458.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.4313, allocations: 316.7 kB / 459.2 MB, free: 23.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.4321, allocations: 0.6187 MB / 459.9 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.4322, allocations: 101.4 kB / 460 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.4324, allocations: 133 kB / 460.1 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.4348, allocations: 1.512 MB / 461.6 MB, free: 21.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.4348, allocations: 0 / 461.6 MB, free: 21.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.435, allocations: 54.28 kB / 461.7 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.435, allocations: 35.95 kB / 461.7 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.4384, allocations: 1.847 MB / 463.5 MB, free: 21.35 MB / 350.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.007171/0.4456, allocations: 4.625 MB / 468.2 MB, free: 18.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4477, allocations: 1.338 MB / 469.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/0.4485, allocations: 0.5278 MB / 470 MB, free: 17.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00569/0.4542, allocations: 4.509 MB / 474.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4542, allocations: 42.55 kB / 474.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003165/0.4545, allocations: 76.47 kB / 474.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.4545, allocations: 0 / 474.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.0178/0.4724, allocations: 4.353 MB / 479 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4724, allocations: 62.53 kB / 479.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.4733, allocations: 0.581 MB / 479.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.4733, allocations: 41.55 kB / 479.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.4737, allocations: 0.5767 MB / 480.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.4739, allocations: 347.6 kB / 480.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.474, allocations: 25.31 kB / 480.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4742, allocations: 394.1 kB / 481 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.4749, allocations: 409.8 kB / 481.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.4757, allocations: 0.7772 MB / 482.2 MB, free: 10.22 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: liquid.temperature = liquid.temperature_start (gas.temperature_start = liquid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/0.4993, allocations: 3.365 MB / 485.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.4993, allocations: 3 kB / 485.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00561/0.5049, allocations: 1.761 MB / 487.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.505, allocations: 13 kB / 487.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.505, allocations: 12 kB / 487.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/0.5083, allocations: 481.1 kB / 487.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.5091, allocations: 287.5 kB / 488.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.5147, allocations: 4.107 MB / 492.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5157, allocations: 91.86 kB / 492.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.5158, allocations: 71.97 kB / 492.4 MB, free: 3.02 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: liquid.temperature = liquid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * 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: 1 {(2,100.0%) 12} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005057/0.5164, allocations: 273.5 kB / 492.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5165, allocations: 90.91 kB / 492.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/0.5223, allocations: 1.746 MB / 494.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.5223, allocations: 8 kB / 494.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5223, allocations: 4 kB / 494.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5223, allocations: 7.969 kB / 494.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/0.5299, allocations: 2.941 MB / 497.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5299, allocations: 0 / 497.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.5306, allocations: 200.1 kB / 497.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004367/0.5349, allocations: 0.5448 MB / 498.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.535, allocations: 35.98 kB / 498.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/0.5427, allocations: 5.271 MB / 0.4917 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5427, allocations: 4.031 kB / 0.4917 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/0.5495, allocations: 2.298 MB / 0.4939 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5499, allocations: 156 kB / 0.4941 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.55, allocations: 23.98 kB / 0.4941 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5505, allocations: 51.83 kB / 0.4941 GB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.5507, allocations: 96.83 kB / 0.4942 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.5508, allocations: 43.98 kB / 0.4943 GB, free: 4.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005682/0.5514, allocations: 387.1 kB / 0.4946 GB, free: 4.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5514, allocations: 0 / 0.4946 GB, free: 4.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002103/0.5535, allocations: 0.5856 MB / 0.4952 GB, free: 3.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (99): * Single equations (assignments): 96 * 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: 1 {(2,100.0%) 12} * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/0.5546, allocations: 0.6115 MB / 0.4958 GB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.5568, allocations: 1.414 MB / 0.4972 GB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5568, allocations: 3.938 kB / 0.4972 GB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.5582, allocations: 0.9939 MB / 0.4982 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.5591, allocations: 192.5 kB / 0.4984 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.563, allocations: 2.759 MB / 0.501 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.5638, allocations: 1.081 MB / 0.5021 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5642, allocations: 203.3 kB / 0.5023 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5642, allocations: 0 / 0.5023 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.03686/0.601, allocations: 28.6 MB / 0.5302 GB, free: 15.65 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile make -j1 -f Chemical_Chemical.Examples.WaterVaporization.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppChemical_Chemical.Examples.WaterVaporizationCalcHelperMain.o OMCppChemical_Chemical.Examples.WaterVaporizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.WaterVaporizationCalcHelperMain.o] Error 1