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.8808/0.8808, allocations: 153.8 MB / 173.4 MB, free: 4.934 MB / 142.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 0.0005851/0.0005851, allocations: 11.97 kB / 251.1 MB, free: 3.957 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1744, allocations: 33.37 MB / 284.5 MB, free: 2.145 MB / 222.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.972/2.146, allocations: 307.5 MB / 0.5781 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03351/2.18, allocations: 34.95 MB / 0.6122 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/2.18, allocations: 3.25 kB / 0.6122 GB, free: 14.28 MB / 494.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.0004552/2.181, allocations: 131.7 kB / 0.6123 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/2.181, allocations: 112.2 kB / 0.6124 GB, free: 14.14 MB / 494.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.02947/2.21, allocations: 9.895 MB / 0.6221 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/2.211, allocations: 355.5 kB / 0.6224 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/2.211, allocations: 97.38 kB / 0.6225 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/2.212, allocations: 156.2 kB / 0.6227 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/2.212, allocations: 122.1 kB / 0.6228 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/2.212, allocations: 16 kB / 0.6228 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03799/2.25, allocations: 18 MB / 0.6404 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/2.25, allocations: 51.77 kB / 0.6404 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/2.25, allocations: 131.4 kB / 0.6406 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02214/2.272, allocations: 8.501 MB / 0.6489 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/2.272, allocations: 0 / 0.6489 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/2.272, allocations: 0 / 0.6489 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.417e-05/2.272, allocations: 4 kB / 0.6489 GB, free: 13.04 MB / 0.5137 GB 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.004499/2.277, allocations: 1.434 MB / 0.6503 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/2.277, allocations: 12.03 kB / 0.6503 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/2.277, allocations: 31.8 kB / 0.6503 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/2.277, allocations: 173.6 kB / 0.6505 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/2.277, allocations: 17.28 kB / 0.6505 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/2.277, allocations: 20.66 kB / 0.6505 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/2.278, allocations: 321.1 kB / 0.6508 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/2.278, allocations: 0 / 0.6508 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/2.278, allocations: 12 kB / 0.6508 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/2.278, allocations: 8 kB / 0.6508 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/2.278, allocations: 182.9 kB / 0.651 GB, free: 10.76 MB / 0.5137 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.03722/2.315, allocations: 11.29 MB / 0.662 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/2.316, allocations: 131.4 kB / 0.6622 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/2.316, allocations: 64.84 kB / 0.6622 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1538/2.47, allocations: 43.46 MB / 0.7047 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/2.47, allocations: 42.56 kB / 0.7047 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/2.47, allocations: 0 / 0.7047 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001074/2.471, allocations: 344.4 kB / 0.705 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/2.471, allocations: 81.11 kB / 0.7051 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/2.471, allocations: 224.9 kB / 0.7053 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/2.471, allocations: 29.7 kB / 0.7053 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/2.471, allocations: 153.5 kB / 0.7055 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/2.472, allocations: 118.9 kB / 0.7056 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/2.472, allocations: 49.66 kB / 0.7057 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001783/2.472, allocations: 338.8 kB / 0.706 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/2.472, allocations: 75.97 kB / 0.7061 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/2.472, allocations: 138 kB / 0.7062 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/2.473, allocations: 233.6 kB / 0.7064 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/2.473, allocations: 3.938 kB / 0.7064 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005348/2.473, allocations: 294.2 kB / 0.7067 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/2.473, allocations: 10.25 kB / 0.7067 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.473, allocations: 3.938 kB / 0.7067 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/2.474, allocations: 140.8 kB / 0.7068 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/2.474, allocations: 13.06 kB / 0.7069 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000647/2.475, allocations: 0.6165 MB / 0.7075 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/2.475, allocations: 31.72 kB / 0.7075 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/2.475, allocations: 8 kB / 0.7075 GB, free: 0.5703 MB / 0.5606 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.0001677/2.475, allocations: 138.6 kB / 0.7076 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/2.475, allocations: 27.75 kB / 0.7076 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/2.476, allocations: 0.6013 MB / 0.7082 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000604/2.477, allocations: 227 kB / 0.7085 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.477, allocations: 0 / 0.7085 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.477, allocations: 0 / 0.7085 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/2.478, allocations: 0.6985 MB / 0.7091 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/2.478, allocations: 7.938 kB / 0.7091 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/2.478, allocations: 20.8 kB / 0.7092 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/2.479, allocations: 100.8 kB / 0.7093 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/2.479, allocations: 11.98 kB / 0.7093 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/2.479, allocations: 0.6421 MB / 0.7099 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.479, allocations: 0.6562 kB / 0.7099 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/2.48, allocations: 349 kB / 0.7102 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/2.48, allocations: 31.78 kB / 0.7103 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/2.48, allocations: 12.7 kB / 0.7103 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/2.48, allocations: 4 kB / 0.7103 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/2.48, allocations: 12.81 kB / 0.7103 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/2.48, allocations: 8 kB / 0.7103 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002946/2.481, allocations: 243.9 kB / 0.7105 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.481, allocations: 0 / 0.7105 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003466/2.484, allocations: 1.228 MB / 0.7117 GB, free: 12.04 MB / 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.006568/2.491, allocations: 1.788 MB / 0.7135 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007931/2.492, allocations: 229.4 kB / 0.7137 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.492, allocations: 0 / 0.7137 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/2.492, allocations: 94.3 kB / 0.7138 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/2.493, allocations: 123.9 kB / 0.7139 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/2.494, allocations: 0.5535 MB / 0.7144 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/2.494, allocations: 0.7675 MB / 0.7152 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/2.494, allocations: 23.44 kB / 0.7152 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/2.494, allocations: 0 / 0.7152 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.04628/2.541, allocations: 25.5 MB / 0.7401 GB, free: 15.36 MB / 0.6075 GB " [Timeout remaining time 657] 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: 11.187870440073311] Failed to read output from testmodel.py, exit status != 0: 2.7360745191108435 2.990753285 0.7155735799999999 Calling exit ...