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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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(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.001226/0.001226, allocations: 108 kB / 15.61 MB, free: 152 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.00118/0.00118, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1591/0.1591, allocations: 15.32 MB / 305.7 MB, free: 15.32 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 55.91 kB / 370.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08315, allocations: 53.61 MB / 423.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006853/0.09004, allocations: 6.522 MB / 430.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1497/0.2398, allocations: 14.56 MB / 445 MB, free: 41.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.2405, allocations: 11 kB / 445 MB, free: 41.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008153/0.2413, allocations: 347.7 kB / 445.4 MB, free: 41.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.2437, allocations: 1.098 MB / 446.5 MB, free: 41.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.2471, allocations: 1.961 MB / 448.4 MB, free: 41.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2484, allocations: 1.593 MB / 450 MB, free: 40.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007019/0.2491, allocations: 0.9772 MB / 451 MB, free: 40.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.2495, allocations: 0.7591 MB / 451.8 MB, free: 40.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.2502, allocations: 0.8302 MB / 452.6 MB, free: 40.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.2503, allocations: 148.1 kB / 452.7 MB, free: 40.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.2532, allocations: 1.465 MB / 454.2 MB, free: 40.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2534, allocations: 344.8 kB / 454.5 MB, free: 40.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.2539, allocations: 0.7416 MB / 455.3 MB, free: 40.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.2567, allocations: 3.092 MB / 458.4 MB, free: 39.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2567, allocations: 0 / 458.4 MB, free: 39.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2567, allocations: 0 / 458.4 MB, free: 39.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2568, allocations: 0 / 458.4 MB, free: 39.25 MB / 366.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.002253/0.259, allocations: 1.832 MB / 460.2 MB, free: 38.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.259, allocations: 16.44 kB / 460.2 MB, free: 38.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2601, allocations: 326 kB / 460.5 MB, free: 38.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.2608, allocations: 0.6519 MB / 461.2 MB, free: 37.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.2608, allocations: 95.56 kB / 461.3 MB, free: 37.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.261, allocations: 132.8 kB / 461.4 MB, free: 37.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2626, allocations: 1.523 MB / 462.9 MB, free: 36.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2626, allocations: 4 kB / 462.9 MB, free: 36.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.2627, allocations: 54.27 kB / 463 MB, free: 36.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2628, allocations: 29.97 kB / 463 MB, free: 36.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.2648, allocations: 1.856 MB / 464.9 MB, free: 36.23 MB / 366.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.004884/0.2697, allocations: 4.654 MB / 469.5 MB, free: 33.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.2713, allocations: 1.343 MB / 470.9 MB, free: 32.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.2719, allocations: 0.5352 MB / 471.4 MB, free: 32.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004644/0.2766, allocations: 4.591 MB / 476 MB, free: 29.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2766, allocations: 42.97 kB / 476 MB, free: 29.21 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002425/0.2768, allocations: 83.33 kB / 476.1 MB, free: 29.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.2769, allocations: 1.438 kB / 476.1 MB, free: 29.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.0163/0.2932, allocations: 4.331 MB / 480.5 MB, free: 27.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.2932, allocations: 62.89 kB / 480.5 MB, free: 27.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.2938, allocations: 0.5787 MB / 481.1 MB, free: 27.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.2939, allocations: 44.67 kB / 481.1 MB, free: 27.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.2941, allocations: 0.5723 MB / 481.7 MB, free: 26.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.2943, allocations: 358.4 kB / 482.1 MB, free: 26.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.2946, allocations: 237.9 kB / 482.3 MB, free: 26.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.2947, allocations: 396.4 kB / 482.7 MB, free: 25.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.2953, allocations: 414.3 kB / 483.1 MB, free: 25.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.296, allocations: 0.7839 MB / 483.9 MB, free: 25.09 MB / 366.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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02208/0.3181, allocations: 4.549 MB / 488.4 MB, free: 23.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3181, allocations: 4.469 kB / 488.4 MB, free: 23.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005007/0.3231, allocations: 1.773 MB / 490.2 MB, free: 22.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3232, allocations: 10.75 kB / 490.2 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3232, allocations: 11.47 kB / 490.2 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/0.3265, allocations: 474.4 kB / 490.7 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.3273, allocations: 296.2 kB / 491 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/0.3329, allocations: 4.403 MB / 495.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.3335, allocations: 44.12 kB / 495.4 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.3336, allocations: 69.28 kB / 495.5 MB, free: 19.11 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003771/0.334, allocations: 277.9 kB / 495.8 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.3342, allocations: 86.72 kB / 495.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.3399, allocations: 1.763 MB / 497.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3399, allocations: 13.06 kB / 497.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3399, allocations: 0 / 497.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.34, allocations: 9.375 kB / 497.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.3463, allocations: 2.947 MB / 0.4888 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3463, allocations: 3.156 kB / 0.4888 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.3469, allocations: 200.7 kB / 0.489 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/0.351, allocations: 0.5367 MB / 0.4896 GB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.3511, allocations: 43.11 kB / 0.4896 GB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/0.3566, allocations: 5.685 MB / 0.4952 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3566, allocations: 4.703 kB / 0.4952 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.3621, allocations: 2.313 MB / 0.4974 GB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.3622, allocations: 160 kB / 0.4976 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3624, allocations: 24 kB / 0.4976 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.3628, allocations: 27.98 kB / 0.4976 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.363, allocations: 100.8 kB / 0.4977 GB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.363, allocations: 51.3 kB / 0.4978 GB, free: 7.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.3633, allocations: 391 kB / 0.4981 GB, free: 7.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3633, allocations: 0 / 0.4981 GB, free: 7.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001256/0.3646, allocations: 0.5895 MB / 0.4987 GB, free: 6.57 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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007274/0.3653, allocations: 0.6268 MB / 0.4993 GB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3675, allocations: 1.465 MB / 0.5008 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3675, allocations: 0 / 0.5008 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009239/0.3684, allocations: 1.01 MB / 0.5017 GB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.3693, allocations: 209 kB / 0.5019 GB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.3716, allocations: 2.223 MB / 0.5041 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.372, allocations: 1.069 MB / 0.5052 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007884/0.3728, allocations: 232.4 kB / 0.5054 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3731, allocations: 157.8 kB / 0.5055 GB, free: 15.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3731, allocations: 0 / 0.5055 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02872/0.4018, allocations: 22.78 MB / 0.5278 GB, free: 8.848 MB / 398.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & ./Chemical_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)