Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8174/0.8174, allocations: 150.9 MB / 167.1 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 15.97 kB / 205.9 MB, free: 9.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 31.33 MB / 237.3 MB, free: 5.723 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.TestDiaphragm): time 1.566/1.699, allocations: 294.5 MB / 0.5193 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03682/1.736, allocations: 34.68 MB / 0.5532 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/1.736, allocations: 0 / 0.5532 GB, free: 10.74 MB / 446.1 MB [/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/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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35: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.000334/1.736, allocations: 108.6 kB / 0.5533 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/1.737, allocations: 91.22 kB / 0.5534 GB, free: 10.55 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02207/1.759, allocations: 9.641 MB / 0.5628 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/1.759, allocations: 354.8 kB / 0.5631 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/1.759, allocations: 115 kB / 0.5632 GB, free: 452 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/1.76, allocations: 155.2 kB / 0.5634 GB, free: 296 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/1.76, allocations: 123.4 kB / 0.5635 GB, free: 172 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/1.76, allocations: 20 kB / 0.5635 GB, free: 152 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02827/1.788, allocations: 17.96 MB / 0.581 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/1.788, allocations: 51.78 kB / 0.5811 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/1.788, allocations: 131.3 kB / 0.5812 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.805, allocations: 8.468 MB / 0.5895 GB, free: 5.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.805, allocations: 0 / 0.5895 GB, free: 5.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/1.805, allocations: 0 / 0.5895 GB, free: 5.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/1.805, allocations: 0 / 0.5895 GB, free: 5.496 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003383/1.808, allocations: 1.458 MB / 0.5909 GB, free: 3.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/1.808, allocations: 8.031 kB / 0.5909 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/1.809, allocations: 27.62 kB / 0.591 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/1.809, allocations: 235.2 kB / 0.5912 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/1.809, allocations: 12.44 kB / 0.5912 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.809, allocations: 20 kB / 0.5912 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/1.809, allocations: 313.1 kB / 0.5915 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.809, allocations: 11.88 kB / 0.5915 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.809, allocations: 8 kB / 0.5915 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/1.809, allocations: 15.98 kB / 0.5915 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/1.81, allocations: 173 kB / 0.5917 GB, free: 3.105 MB / 478.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.0366/1.846, allocations: 18.16 MB / 0.6094 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/1.847, allocations: 150.5 kB / 0.6096 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.847, allocations: 88.84 kB / 0.6097 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1505/1.997, allocations: 77.92 MB / 0.6858 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.997, allocations: 38.56 kB / 0.6858 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/1.997, allocations: 0 / 0.6858 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009073/1.998, allocations: 419.4 kB / 0.6862 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.998, allocations: 77.11 kB / 0.6863 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/1.999, allocations: 231 kB / 0.6865 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/1.999, allocations: 29.7 kB / 0.6865 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/1.999, allocations: 148.4 kB / 0.6867 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/1.999, allocations: 114.3 kB / 0.6868 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/1.999, allocations: 49.64 kB / 0.6868 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.999, allocations: 342.8 kB / 0.6871 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.999, allocations: 75.97 kB / 0.6872 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/1.999, allocations: 130 kB / 0.6873 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/2, allocations: 229.6 kB / 0.6876 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/2, allocations: 0 / 0.6876 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004563/2, allocations: 305.9 kB / 0.6879 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/2, allocations: 11.94 kB / 0.6879 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/2, allocations: 0 / 0.6879 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009479/2.001, allocations: 145.8 kB / 0.688 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/2.001, allocations: 16 kB / 0.688 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005259/2.002, allocations: 0.6122 MB / 0.6886 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/2.002, allocations: 27.69 kB / 0.6886 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/2.002, allocations: 4 kB / 0.6886 GB, free: 4.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001255/2.002, allocations: 137.8 kB / 0.6888 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/2.002, allocations: 23.72 kB / 0.6888 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/2.003, allocations: 0.608 MB / 0.6894 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005258/2.003, allocations: 224.8 kB / 0.6896 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/2.003, allocations: 3.938 kB / 0.6896 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/2.003, allocations: 1.125 kB / 0.6896 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/2.005, allocations: 0.732 MB / 0.6903 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.005, allocations: 3.984 kB / 0.6903 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/2.005, allocations: 23.94 kB / 0.6904 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/2.005, allocations: 104.8 kB / 0.6905 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/2.005, allocations: 0 / 0.6905 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004719/2.006, allocations: 0.6435 MB / 0.6911 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.006, allocations: 0 / 0.6911 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/2.006, allocations: 351.8 kB / 0.6914 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/2.006, allocations: 104.9 kB / 0.6915 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/2.006, allocations: 15.78 kB / 0.6915 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/2.006, allocations: 11.94 kB / 0.6915 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/2.006, allocations: 8.828 kB / 0.6916 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/2.006, allocations: 4 kB / 0.6916 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002364/2.007, allocations: 241.9 kB / 0.6918 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/2.007, allocations: 0 / 0.6918 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00273/2.009, allocations: 1.21 MB / 0.693 GB, free: 356 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1506/2.16, allocations: 1.762 MB / 0.6947 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006268/2.161, allocations: 246.6 kB / 0.6949 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.161, allocations: 1.688 kB / 0.6949 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/2.161, allocations: 99.78 kB / 0.695 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/2.162, allocations: 127.8 kB / 0.6951 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/2.163, allocations: 0.5137 MB / 0.6956 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/2.163, allocations: 0.7693 MB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.79e-05/2.163, allocations: 27.56 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/2.163, allocations: 20.88 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/2.163, allocations: 0.9375 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04487/2.208, allocations: 42.83 MB / 0.7383 GB, free: 205 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)