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.8101/0.8101, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 15.98 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 31.33 MB / 235.3 MB, free: 5.449 MB / 190.1 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.673/1.816, allocations: 294.4 MB / 0.5173 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1891/2.006, allocations: 188.2 MB / 0.7011 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007286/2.006, allocations: 4 kB / 0.7011 GB, free: 1.266 MB / 0.5762 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.0006179/2.007, allocations: 177.4 kB / 0.7013 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005287/2.008, allocations: 254.2 kB / 0.7015 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02721/2.035, allocations: 8.851 MB / 0.7102 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001397/2.036, allocations: 0.8947 MB / 0.711 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/2.037, allocations: 350.2 kB / 0.7114 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/2.037, allocations: 338.4 kB / 0.7117 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/2.037, allocations: 350.4 kB / 0.712 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/2.037, allocations: 40 kB / 0.7121 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4302/2.468, allocations: 17.29 MB / 0.729 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/2.468, allocations: 138.7 kB / 0.7291 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/2.469, allocations: 374.7 kB / 0.7294 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.029/2.498, allocations: 9.407 MB / 0.7386 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/2.498, allocations: 2.656 kB / 0.7386 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/2.498, allocations: 0.8125 kB / 0.7386 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.857e-05/2.498, allocations: 0 / 0.7386 GB, free: 12.22 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007496/2.505, allocations: 2.031 MB / 0.7406 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/2.505, allocations: 8.469 kB / 0.7406 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/2.505, allocations: 88.31 kB / 0.7407 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/2.506, allocations: 406.7 kB / 0.7411 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/2.506, allocations: 44.41 kB / 0.7411 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/2.506, allocations: 56.95 kB / 0.7412 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/2.508, allocations: 0.7505 MB / 0.7419 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/2.508, allocations: 5.781 kB / 0.7419 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/2.508, allocations: 24 kB / 0.742 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/2.508, allocations: 29.41 kB / 0.742 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/2.509, allocations: 490.6 kB / 0.7425 GB, free: 10.58 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.00421/2.514, allocations: 4.539 MB / 0.7469 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/2.515, allocations: 325.7 kB / 0.7472 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/2.515, allocations: 224.9 kB / 0.7474 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3217/2.837, allocations: 150.5 MB / 0.8943 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/2.837, allocations: 33.98 kB / 0.8944 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.405e-06/2.837, allocations: 0 / 0.8944 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.003153/2.84, allocations: 1.145 MB / 0.8955 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/2.84, allocations: 85.09 kB / 0.8956 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/2.841, allocations: 0.5063 MB / 0.8961 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/2.841, allocations: 29.2 kB / 0.8961 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/2.841, allocations: 315.4 kB / 0.8964 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/2.841, allocations: 267.1 kB / 0.8967 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/2.841, allocations: 120.4 kB / 0.8968 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001355/2.841, allocations: 378.6 kB / 0.8971 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/2.842, allocations: 165 kB / 0.8973 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/2.842, allocations: 334.8 kB / 0.8976 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/2.843, allocations: 0.5593 MB / 0.8982 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.843, allocations: 0 / 0.8982 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001445/2.845, allocations: 0.7909 MB / 0.8989 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/2.845, allocations: 10.69 kB / 0.8989 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/2.845, allocations: 8 kB / 0.8989 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/2.847, allocations: 0.7117 MB / 0.8996 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/2.847, allocations: 41.89 kB / 0.8997 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/2.849, allocations: 1.522 MB / 0.9012 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/2.849, allocations: 80.97 kB / 0.9012 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/2.849, allocations: 23.88 kB / 0.9013 GB, free: 2.855 MB / 0.7325 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.0002628/2.849, allocations: 204.9 kB / 0.9015 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/2.85, allocations: 70.47 kB / 0.9015 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/2.851, allocations: 1.207 MB / 0.9027 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001226/2.852, allocations: 0.8723 MB / 0.9036 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/2.852, allocations: 3.938 kB / 0.9036 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/2.853, allocations: 7.984 kB / 0.9036 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/2.856, allocations: 2.53 MB / 0.906 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/2.856, allocations: 4 kB / 0.906 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/2.856, allocations: 138 kB / 0.9062 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/2.858, allocations: 0.5628 MB / 0.9067 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/2.858, allocations: 22.75 kB / 0.9068 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/2.859, allocations: 1.47 MB / 0.9082 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/2.859, allocations: 11.98 kB / 0.9082 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/2.861, allocations: 1.528 MB / 0.9097 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/2.862, allocations: 216.4 kB / 0.9099 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/2.862, allocations: 30.09 kB / 0.9099 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/2.862, allocations: 38.55 kB / 0.91 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/2.862, allocations: 65.86 kB / 0.91 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/2.862, allocations: 35.58 kB / 0.9101 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004442/2.863, allocations: 427.8 kB / 0.9105 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/2.863, allocations: 0 / 0.9105 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004304/2.867, allocations: 1.506 MB / 0.9119 GB, free: 10.1 MB / 0.7481 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.006531/2.873, allocations: 2.206 MB / 0.9141 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001816/2.875, allocations: 0.9602 MB / 0.915 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/2.875, allocations: 4 kB / 0.915 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/2.876, allocations: 478.5 kB / 0.9155 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/2.878, allocations: 305 kB / 0.9158 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/2.881, allocations: 2.146 MB / 0.9179 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/2.881, allocations: 1.035 MB / 0.9189 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002948/2.881, allocations: 80.75 kB / 0.919 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/2.882, allocations: 55.42 kB / 0.919 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/2.882, allocations: 0 / 0.919 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of Templates: time 0.06743/2.949, allocations: 53.4 MB / 0.9712 GB, free: 14.79 MB / 0.8106 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)