Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.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.Examples.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.803/0.803, allocations: 150.8 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 15.98 kB / 204.7 MB, free: 6.172 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 31.33 MB / 236 MB, free: 3.902 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh): time 1.568/1.78, allocations: 293.7 MB / 0.5173 GB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4517/2.232, allocations: 188.2 MB / 0.7011 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/2.232, allocations: 6.031 kB / 0.7011 GB, free: 1.367 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:27:3-29:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:30:3-32:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:33:3-35:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:36:3-38:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005383/2.233, allocations: 176.6 kB / 0.7012 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/2.233, allocations: 258.1 kB / 0.7015 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02549/2.259, allocations: 8.851 MB / 0.7101 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001234/2.26, allocations: 0.8976 MB / 0.711 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/2.261, allocations: 358.8 kB / 0.7114 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/2.261, allocations: 339.7 kB / 0.7117 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/2.261, allocations: 357.9 kB / 0.712 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/2.261, allocations: 35.94 kB / 0.7121 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03251/2.294, allocations: 17.63 MB / 0.7293 GB, free: 14.07 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/2.294, allocations: 136.2 kB / 0.7294 GB, free: 14.04 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/2.295, allocations: 370.6 kB / 0.7298 GB, free: 14.02 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02297/2.318, allocations: 9.413 MB / 0.739 GB, free: 10.22 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/2.318, allocations: 4 kB / 0.739 GB, free: 10.21 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.425e-06/2.318, allocations: 0 / 0.739 GB, free: 10.21 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.155e-05/2.318, allocations: 0 / 0.739 GB, free: 10.21 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005436/2.323, allocations: 2.035 MB / 0.7409 GB, free: 8.926 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/2.323, allocations: 14.02 kB / 0.741 GB, free: 8.922 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/2.323, allocations: 83.97 kB / 0.741 GB, free: 8.879 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/2.324, allocations: 414.5 kB / 0.7414 GB, free: 8.551 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/2.324, allocations: 45.56 kB / 0.7415 GB, free: 8.551 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/2.324, allocations: 59.72 kB / 0.7415 GB, free: 8.547 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/2.325, allocations: 0.7579 MB / 0.7423 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/2.325, allocations: 0 / 0.7423 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/2.325, allocations: 27.22 kB / 0.7423 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/2.325, allocations: 28.8 kB / 0.7423 GB, free: 8.215 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/2.326, allocations: 482.2 kB / 0.7428 GB, free: 8.141 MB / 0.573 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.003263/2.329, allocations: 4.542 MB / 0.7472 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/2.33, allocations: 319.8 kB / 0.7475 GB, free: 4.02 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/2.33, allocations: 232.5 kB / 0.7477 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3085/2.639, allocations: 150.5 MB / 0.8947 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/2.639, allocations: 34.8 kB / 0.8947 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 2.355e-06/2.639, allocations: 1.094 kB / 0.8947 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.003175/2.642, allocations: 1.144 MB / 0.8958 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/2.642, allocations: 81.11 kB / 0.8959 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/2.642, allocations: 0.5064 MB / 0.8964 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/2.643, allocations: 33.64 kB / 0.8964 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/2.643, allocations: 315.3 kB / 0.8967 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/2.643, allocations: 261.1 kB / 0.897 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/2.643, allocations: 122 kB / 0.8971 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001499/2.643, allocations: 376 kB / 0.8975 GB, free: 360 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/2.644, allocations: 169.4 kB / 0.8976 GB, free: 188 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/2.644, allocations: 335.4 kB / 0.8979 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008656/2.645, allocations: 0.5618 MB / 0.8985 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.645, allocations: 0 / 0.8985 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001557/2.647, allocations: 0.786 MB / 0.8993 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/2.647, allocations: 8 kB / 0.8993 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/2.647, allocations: 4 kB / 0.8993 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/2.649, allocations: 0.7069 MB / 0.9 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/2.649, allocations: 43.91 kB / 0.9 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/2.651, allocations: 1.535 MB / 0.9015 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/2.651, allocations: 77 kB / 0.9016 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/2.651, allocations: 24 kB / 0.9016 GB, free: 11.92 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000288/2.652, allocations: 208.3 kB / 0.9018 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/2.652, allocations: 67.09 kB / 0.9019 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/2.653, allocations: 1.203 MB / 0.903 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001285/2.655, allocations: 0.8788 MB / 0.9039 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.655, allocations: 0 / 0.9039 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/2.655, allocations: 7.984 kB / 0.9039 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/2.658, allocations: 2.542 MB / 0.9064 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/2.658, allocations: 4 kB / 0.9064 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/2.659, allocations: 135.8 kB / 0.9065 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/2.66, allocations: 0.555 MB / 0.9071 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/2.66, allocations: 24 kB / 0.9071 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/2.662, allocations: 1.471 MB / 0.9085 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/2.662, allocations: 11.94 kB / 0.9085 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/2.687, allocations: 13.3 MB / 0.9215 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/2.688, allocations: 227.6 kB / 0.9217 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/2.688, allocations: 20.06 kB / 0.9217 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/2.688, allocations: 41.09 kB / 0.9218 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/2.688, allocations: 64.36 kB / 0.9218 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/2.688, allocations: 36 kB / 0.9219 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005036/2.689, allocations: 430.8 kB / 0.9223 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/2.689, allocations: 3.938 kB / 0.9223 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006253/2.695, allocations: 2.612 MB / 0.9248 GB, free: 3.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (volumeATh.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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/2.706, allocations: 3.189 MB / 0.928 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001875/2.708, allocations: 0.9556 MB / 0.9289 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/2.708, allocations: 5.188 kB / 0.9289 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009566/2.709, allocations: 481.8 kB / 0.9294 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/2.711, allocations: 321 kB / 0.9297 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/2.715, allocations: 3.03 MB / 0.9326 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/2.716, allocations: 1.082 MB / 0.9337 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003768/2.716, allocations: 88.72 kB / 0.9338 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/2.716, allocations: 64.58 kB / 0.9338 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/2.716, allocations: 0 / 0.9338 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.2447/2.961, allocations: 79.08 MB / 1.011 GB, free: 413.1 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe 2>&1)