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.561/0.561, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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 2.435e-06/2.435e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.56e-05, allocations: 2.281 kB / 218 MB, free: 8.609 MB / 202.7 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 0.9825/0.9826, allocations: 254.3 MB / 472.2 MB, free: 8.863 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2355/1.218, allocations: 30.74 MB / 0.4912 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/1.218, allocations: 2.125 kB / 0.4912 GB, free: 0.9062 MB / 442.7 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.0003122/1.218, allocations: 104.8 kB / 0.4913 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/1.219, allocations: 120.7 kB / 0.4914 GB, free: 0.8945 MB / 442.7 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.01724/1.236, allocations: 9.844 MB / 0.501 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/1.237, allocations: 368.6 kB / 0.5014 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/1.237, allocations: 100.4 kB / 0.5015 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/1.237, allocations: 226.6 kB / 0.5017 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/1.237, allocations: 77.83 kB / 0.5018 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/1.237, allocations: 18 kB / 0.5018 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/1.257, allocations: 16.86 MB / 0.5182 GB, free: 2.898 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/1.257, allocations: 50.52 kB / 0.5183 GB, free: 2.852 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/1.257, allocations: 81.33 kB / 0.5184 GB, free: 2.777 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/1.273, allocations: 10.88 MB / 0.529 GB, free: 8.391 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.273, allocations: 0 / 0.529 GB, free: 8.391 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.273, allocations: 0.75 kB / 0.529 GB, free: 8.391 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/1.273, allocations: 5.406 kB / 0.529 GB, free: 8.387 MB / 474.7 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.003153/1.276, allocations: 1.423 MB / 0.5304 GB, free: 6.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.276, allocations: 8.031 kB / 0.5304 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/1.276, allocations: 33.17 kB / 0.5304 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.276, allocations: 174.7 kB / 0.5306 GB, free: 6.695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/1.276, allocations: 16.5 kB / 0.5306 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/1.276, allocations: 16.61 kB / 0.5306 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/1.276, allocations: 348.9 kB / 0.531 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.276, allocations: 0 / 0.531 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/1.276, allocations: 12.91 kB / 0.531 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.276, allocations: 12.78 kB / 0.531 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/1.277, allocations: 182.3 kB / 0.5312 GB, free: 6.086 MB / 474.7 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.0176/1.294, allocations: 10.86 MB / 0.5418 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/1.295, allocations: 132.3 kB / 0.5419 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/1.295, allocations: 66.05 kB / 0.542 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07222/1.367, allocations: 43.61 MB / 0.5846 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.367, allocations: 31.62 kB / 0.5846 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/1.367, allocations: 0 / 0.5846 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0006689/1.368, allocations: 348.1 kB / 0.5849 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/1.368, allocations: 77.11 kB / 0.585 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/1.368, allocations: 190.9 kB / 0.5852 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.368, allocations: 25.7 kB / 0.5852 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/1.368, allocations: 165.4 kB / 0.5854 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/1.368, allocations: 114.2 kB / 0.5855 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/1.368, allocations: 50.53 kB / 0.5855 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/1.368, allocations: 330.8 kB / 0.5858 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/1.368, allocations: 79.98 kB / 0.5859 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.368, allocations: 161.5 kB / 0.5861 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/1.369, allocations: 233.8 kB / 0.5863 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.369, allocations: 3.938 kB / 0.5863 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002988/1.369, allocations: 306.3 kB / 0.5866 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.369, allocations: 4 kB / 0.5866 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.369, allocations: 4 kB / 0.5866 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/1.369, allocations: 125.5 kB / 0.5867 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/1.37, allocations: 24.52 kB / 0.5867 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003605/1.37, allocations: 0.6115 MB / 0.5873 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/1.37, allocations: 23.78 kB / 0.5873 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/1.37, allocations: 8 kB / 0.5874 GB, free: 12.48 MB / 0.5261 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.0001029/1.37, allocations: 143.3 kB / 0.5875 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/1.37, allocations: 29.34 kB / 0.5875 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/1.371, allocations: 0.6027 MB / 0.5881 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002644/1.371, allocations: 219.7 kB / 0.5883 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.371, allocations: 4 kB / 0.5883 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.371, allocations: 0 / 0.5883 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/1.372, allocations: 0.629 MB / 0.5889 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.372, allocations: 8 kB / 0.5889 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/1.372, allocations: 15.94 kB / 0.589 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/1.372, allocations: 116.7 kB / 0.5891 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/1.372, allocations: 0.5 kB / 0.5891 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/1.372, allocations: 0.6409 MB / 0.5897 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.372, allocations: 4.047 kB / 0.5897 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/1.373, allocations: 337.3 kB / 0.59 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/1.373, allocations: 27.83 kB / 0.59 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/1.373, allocations: 8.656 kB / 0.5901 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/1.373, allocations: 4 kB / 0.5901 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/1.373, allocations: 7.984 kB / 0.5901 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/1.373, allocations: 4 kB / 0.5901 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001368/1.373, allocations: 217.1 kB / 0.5903 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/1.373, allocations: 0 / 0.5903 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002219/1.375, allocations: 1.243 MB / 0.5915 GB, free: 8.078 MB / 0.5261 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.003422/1.378, allocations: 1.947 MB / 0.5934 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003985/1.379, allocations: 230.8 kB / 0.5936 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.379, allocations: 4.062 kB / 0.5936 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.379, allocations: 87.77 kB / 0.5937 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/1.379, allocations: 111.1 kB / 0.5938 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/1.38, allocations: 0.5179 MB / 0.5943 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/1.38, allocations: 168.7 kB / 0.5945 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/1.38, allocations: 24.5 kB / 0.5945 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/1.38, allocations: 0 / 0.5945 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of Templates: time 0.02471/1.405, allocations: 25.53 MB / 0.6194 GB, free: 11.78 MB / 0.5573 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: 7.04438051301986] Failed to read output from testmodel.py, exit status != 0: 1.6203936208039522 1.546655959 0.27235830599999994 Calling exit ...