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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8633/0.8633, allocations: 120.4 MB / 139.5 MB, free: 492 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.384e-05, allocations: 3.828 kB / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm): time 1.507/1.507, allocations: 254.3 MB / 471.5 MB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2367/1.744, allocations: 30.75 MB / 0.4905 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/1.744, allocations: 2.188 kB / 0.4905 GB, free: 7.73 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0003591/1.744, allocations: 109.9 kB / 0.4906 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/1.744, allocations: 125.6 kB / 0.4907 GB, free: 7.555 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02667/1.771, allocations: 9.834 MB / 0.5003 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/1.772, allocations: 366.7 kB / 0.5007 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/1.772, allocations: 102.5 kB / 0.5008 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/1.772, allocations: 220.3 kB / 0.501 GB, free: 288 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/1.772, allocations: 83.72 kB / 0.501 GB, free: 204 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/1.772, allocations: 21.12 kB / 0.5011 GB, free: 184 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03229/1.805, allocations: 16.85 MB / 0.5175 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/1.805, allocations: 51.77 kB / 0.5176 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/1.805, allocations: 87.77 kB / 0.5177 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02284/1.828, allocations: 10.87 MB / 0.5283 GB, free: 4.293 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.828, allocations: 1 kB / 0.5283 GB, free: 4.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/1.828, allocations: 0 / 0.5283 GB, free: 4.293 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/1.828, allocations: 0 / 0.5283 GB, free: 4.293 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.004021/1.832, allocations: 1.424 MB / 0.5297 GB, free: 2.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/1.832, allocations: 8.031 kB / 0.5297 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/1.832, allocations: 33.34 kB / 0.5297 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/1.832, allocations: 172.8 kB / 0.5299 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/1.832, allocations: 17.09 kB / 0.5299 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/1.832, allocations: 23.94 kB / 0.5299 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/1.833, allocations: 352 kB / 0.5302 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.833, allocations: 0 / 0.5302 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.833, allocations: 12.59 kB / 0.5303 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/1.833, allocations: 15.98 kB / 0.5303 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/1.833, allocations: 179.5 kB / 0.5304 GB, free: 1.977 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.03897/1.872, allocations: 10.87 MB / 0.5411 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/1.873, allocations: 126.6 kB / 0.5412 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.873, allocations: 76.83 kB / 0.5412 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1639/2.037, allocations: 43.6 MB / 0.5838 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/2.037, allocations: 34.5 kB / 0.5839 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 3.466e-06/2.037, allocations: 0.7031 kB / 0.5839 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0009937/2.038, allocations: 328.3 kB / 0.5842 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/2.038, allocations: 85.11 kB / 0.5843 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/2.038, allocations: 190.9 kB / 0.5844 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/2.038, allocations: 29.7 kB / 0.5845 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/2.038, allocations: 164.5 kB / 0.5846 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/2.038, allocations: 111 kB / 0.5847 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/2.038, allocations: 54.59 kB / 0.5848 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001735/2.039, allocations: 334.8 kB / 0.5851 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/2.039, allocations: 75.97 kB / 0.5852 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/2.039, allocations: 163.6 kB / 0.5853 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/2.039, allocations: 233.6 kB / 0.5856 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/2.039, allocations: 0 / 0.5856 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005183/2.04, allocations: 294.1 kB / 0.5858 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.04, allocations: 8 kB / 0.5858 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/2.04, allocations: 0.6875 kB / 0.5858 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/2.041, allocations: 136.8 kB / 0.586 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/2.041, allocations: 20.48 kB / 0.586 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/2.041, allocations: 0.6093 MB / 0.5866 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/2.042, allocations: 39.73 kB / 0.5866 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/2.042, allocations: 7.984 kB / 0.5866 GB, free: 8.277 MB / 0.5294 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.0001497/2.042, allocations: 133.8 kB / 0.5868 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/2.042, allocations: 17.56 kB / 0.5868 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/2.043, allocations: 0.6049 MB / 0.5874 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005999/2.044, allocations: 224.7 kB / 0.5876 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/2.044, allocations: 0.625 kB / 0.5876 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.044, allocations: 3.984 kB / 0.5876 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/2.045, allocations: 0.631 MB / 0.5882 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/2.045, allocations: 0.7969 kB / 0.5882 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/2.045, allocations: 17.31 kB / 0.5882 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/2.045, allocations: 110.9 kB / 0.5883 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/2.045, allocations: 11.98 kB / 0.5883 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006064/2.046, allocations: 0.6421 MB / 0.589 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.046, allocations: 0 / 0.589 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/2.047, allocations: 332.2 kB / 0.5893 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/2.047, allocations: 39.72 kB / 0.5893 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/2.047, allocations: 18.56 kB / 0.5893 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/2.047, allocations: 4 kB / 0.5893 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/2.047, allocations: 13.75 kB / 0.5894 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/2.047, allocations: 4.938 kB / 0.5894 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002372/2.047, allocations: 205.2 kB / 0.5896 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.047, allocations: 0 / 0.5896 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003104/2.05, allocations: 1.243 MB / 0.5908 GB, free: 3.879 MB / 0.5294 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.006093/2.056, allocations: 1.939 MB / 0.5927 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006727/2.057, allocations: 233.3 kB / 0.5929 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/2.057, allocations: 4 kB / 0.5929 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/2.057, allocations: 84.97 kB / 0.593 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/2.058, allocations: 121.3 kB / 0.5931 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/2.059, allocations: 498.3 kB / 0.5936 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/2.059, allocations: 164.7 kB / 0.5937 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.385e-05/2.059, allocations: 19.66 kB / 0.5937 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/2.059, allocations: 20.5 kB / 0.5938 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/2.059, allocations: 0 / 0.5938 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of Templates: time 0.06572/2.125, allocations: 42.55 MB / 0.6353 GB, free: 6.473 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.222052127122879] Failed to read output from testmodel.py, exit status != 0: 2.4697667099535465 2.479187581 0.649085593 Calling exit ...