Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8363/0.8363, allocations: 150.8 MB / 166.1 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.48e-05, allocations: 0 / 204.8 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 31.98 MB / 236.8 MB, free: 5.414 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97): time 1.702/1.872, allocations: 298.3 MB / 0.5225 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5547/2.426, allocations: 186.9 MB / 0.705 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/2.427, allocations: 11.28 kB / 0.705 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/2.428, allocations: 278.2 kB / 0.7053 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/2.429, allocations: 0.5197 MB / 0.7058 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02774/2.457, allocations: 9.334 MB / 0.7149 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002869/2.46, allocations: 1.976 MB / 0.7168 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000808/2.461, allocations: 0.6763 MB / 0.7175 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/2.462, allocations: 0.6576 MB / 0.7181 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/2.462, allocations: 0.6691 MB / 0.7188 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/2.463, allocations: 55.39 kB / 0.7188 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03931/2.502, allocations: 20.2 MB / 0.7386 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/2.502, allocations: 235.8 kB / 0.7388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/2.504, allocations: 0.7625 MB / 0.7395 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02539/2.529, allocations: 11.06 MB / 0.7503 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/2.529, allocations: 0 / 0.7503 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.524e-06/2.529, allocations: 0 / 0.7503 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.706e-05/2.529, allocations: 0 / 0.7503 GB, free: 14.12 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.007557/2.537, allocations: 2.749 MB / 0.753 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.537, allocations: 11.34 kB / 0.753 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/2.537, allocations: 184.3 kB / 0.7532 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/2.538, allocations: 0.6656 MB / 0.7539 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/2.538, allocations: 89.14 kB / 0.7539 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/2.538, allocations: 121.7 kB / 0.7541 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/2.54, allocations: 1.67 MB / 0.7557 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/2.54, allocations: 6.031 kB / 0.7557 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/2.54, allocations: 51.75 kB / 0.7557 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/2.541, allocations: 64.48 kB / 0.7558 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/2.542, allocations: 1.179 MB / 0.757 GB, free: 11.02 MB / 0.5919 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.07799/2.62, allocations: 42.7 MB / 0.7986 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/2.622, allocations: 0.8992 MB / 0.7995 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/2.623, allocations: 0.6167 MB / 0.8001 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3061/2.929, allocations: 151.8 MB / 0.9483 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/2.929, allocations: 38.59 kB / 0.9484 GB, free: 13.42 MB / 0.795 GB Notification: Performance of pre-optimization done (n=197): time 4.208e-06/2.929, allocations: 4 kB / 0.9484 GB, free: 13.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=197): time 0.01812/2.948, allocations: 4.396 MB / 0.9527 GB, free: 9.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/2.948, allocations: 118 kB / 0.9528 GB, free: 9.555 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/2.949, allocations: 0.8349 MB / 0.9536 GB, free: 8.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/2.949, allocations: 38.77 kB / 0.9536 GB, free: 8.855 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/2.95, allocations: 0.5717 MB / 0.9542 GB, free: 8.352 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/2.95, allocations: 0.6348 MB / 0.9548 GB, free: 7.723 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/2.951, allocations: 153.6 kB / 0.955 GB, free: 7.566 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.951, allocations: 309.1 kB / 0.9553 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/2.952, allocations: 494.8 kB / 0.9557 GB, free: 6.777 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/2.953, allocations: 0.8201 MB / 0.9565 GB, free: 5.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/2.955, allocations: 1.439 MB / 0.9579 GB, free: 4.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/2.955, allocations: 8 kB / 0.958 GB, free: 4.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.003556/2.959, allocations: 1.935 MB / 0.9598 GB, free: 2.418 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/2.959, allocations: 8 kB / 0.9599 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/2.959, allocations: 8 kB / 0.9599 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008121/2.967, allocations: 2.559 MB / 0.9624 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/2.968, allocations: 131.5 kB / 0.9625 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/2.971, allocations: 1.853 MB / 0.9643 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/2.972, allocations: 203 kB / 0.9645 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/2.972, allocations: 47.98 kB / 0.9645 GB, free: 13.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,sinkP1.C.a,lumpedStraightPipe2.C2.b,lumpedStraightPipe2.C1.a,sinkP.C.a,controlValve4.C2.b,controlValve4.C1.a,controlValve3.C2.b,controlValve3.C1.a,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,controlValve.C2.b,controlValve.C1.a,lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP1.C.b,sourceP.C.b,volumeA.Ce1.b,volumeC.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006182/2.973, allocations: 303.6 kB / 0.9648 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/2.973, allocations: 130.2 kB / 0.9649 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/2.98, allocations: 5.723 MB / 0.9705 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003397/2.984, allocations: 2.046 MB / 0.9725 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/2.984, allocations: 0 / 0.9725 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/2.984, allocations: 7.969 kB / 0.9725 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0081/2.992, allocations: 4.765 MB / 0.9772 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/2.992, allocations: 0 / 0.9772 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/2.993, allocations: 235.5 kB / 0.9774 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2079/3.201, allocations: 2.012 MB / 0.9794 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/3.201, allocations: 31.78 kB / 0.9794 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/3.203, allocations: 1.861 MB / 0.9812 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/3.203, allocations: 0.5156 kB / 0.9812 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/3.208, allocations: 3.142 MB / 0.9843 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/3.209, allocations: 407.4 kB / 0.9847 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/3.209, allocations: 30.69 kB / 0.9847 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/3.21, allocations: 99.75 kB / 0.9848 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/3.21, allocations: 108.1 kB / 0.9849 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/3.21, allocations: 43.33 kB / 0.985 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007595/3.211, allocations: 0.693 MB / 0.9856 GB, free: 458 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.211, allocations: 0 / 0.9856 GB, free: 458 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004683/3.216, allocations: 1.822 MB / 0.9874 GB, free: 457.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeC.h,volumeA.h) * 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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0068/3.222, allocations: 2.345 MB / 0.9897 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004141/3.227, allocations: 2.229 MB / 0.9919 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/3.227, allocations: 0.9062 kB / 0.9919 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/3.229, allocations: 1.081 MB / 0.9929 GB, free: 457.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/3.232, allocations: 0.6563 MB / 0.9936 GB, free: 457.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/3.237, allocations: 4.087 MB / 0.9976 GB, free: 455.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/3.238, allocations: 1.397 MB / 0.9989 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006197/3.238, allocations: 154.5 kB / 0.9991 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/3.239, allocations: 85.41 kB / 0.9992 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of SimCode: time 8.31e-07/3.239, allocations: 0 / 0.9992 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.08467/3.323, allocations: 70.66 MB / 1.068 GB, free: 400.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.pipe 2>&1) Environment - environmentSimulation: