Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.559/0.559, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 217.9 MB, free: 8.652 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.767e-05, allocations: 7.5 kB / 217.9 MB, free: 8.648 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 0.9686/0.9686, allocations: 254.2 MB / 472.1 MB, free: 8.934 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2291/1.198, allocations: 30.74 MB / 0.491 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/1.198, allocations: 3 kB / 0.491 GB, free: 0.8828 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.0003138/1.198, allocations: 108.6 kB / 0.4911 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/1.198, allocations: 118.2 kB / 0.4912 GB, free: 0.875 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.01936/1.218, allocations: 9.844 MB / 0.5009 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/1.218, allocations: 364.8 kB / 0.5012 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/1.218, allocations: 100.7 kB / 0.5013 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/1.219, allocations: 227 kB / 0.5015 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/1.219, allocations: 85.62 kB / 0.5016 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/1.219, allocations: 19.19 kB / 0.5016 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02421/1.243, allocations: 16.85 MB / 0.5181 GB, free: 2.969 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/1.243, allocations: 45.75 kB / 0.5181 GB, free: 2.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/1.243, allocations: 90.61 kB / 0.5182 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.262, allocations: 10.88 MB / 0.5288 GB, free: 8.469 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.262, allocations: 1.094 kB / 0.5288 GB, free: 8.469 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.262, allocations: 0 / 0.5288 GB, free: 8.469 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/1.262, allocations: 0 / 0.5288 GB, free: 8.469 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.003711/1.266, allocations: 1.428 MB / 0.5302 GB, free: 7.008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.266, allocations: 12.03 kB / 0.5302 GB, free: 6.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/1.266, allocations: 27.81 kB / 0.5303 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/1.266, allocations: 173.9 kB / 0.5304 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.266, allocations: 16.5 kB / 0.5304 GB, free: 6.762 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/1.266, allocations: 21.34 kB / 0.5305 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/1.266, allocations: 347.2 kB / 0.5308 GB, free: 6.367 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.266, allocations: 3.938 kB / 0.5308 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.266, allocations: 8.891 kB / 0.5308 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.266, allocations: 15.94 kB / 0.5308 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/1.267, allocations: 175.5 kB / 0.531 GB, free: 6.168 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.01793/1.285, allocations: 10.87 MB / 0.5416 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/1.285, allocations: 130.5 kB / 0.5417 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/1.285, allocations: 68.84 kB / 0.5418 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07388/1.359, allocations: 43.61 MB / 0.5844 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/1.359, allocations: 30.56 kB / 0.5844 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/1.359, allocations: 4 kB / 0.5844 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0006639/1.359, allocations: 344.5 kB / 0.5847 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.36, allocations: 81.05 kB / 0.5848 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.36, allocations: 190.6 kB / 0.585 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/1.36, allocations: 29.7 kB / 0.585 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/1.36, allocations: 167.4 kB / 0.5852 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/1.36, allocations: 114.8 kB / 0.5853 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/1.36, allocations: 49.69 kB / 0.5853 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/1.36, allocations: 330.8 kB / 0.5857 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/1.36, allocations: 71.98 kB / 0.5857 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/1.36, allocations: 159.7 kB / 0.5859 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/1.36, allocations: 242.4 kB / 0.5861 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.36, allocations: 0 / 0.5861 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003042/1.361, allocations: 299.2 kB / 0.5864 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.361, allocations: 8 kB / 0.5864 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.361, allocations: 0 / 0.5864 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/1.361, allocations: 137.4 kB / 0.5865 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/1.361, allocations: 20.77 kB / 0.5866 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006256/1.362, allocations: 0.6099 MB / 0.5871 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/1.362, allocations: 27.81 kB / 0.5872 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.362, allocations: 9.078 kB / 0.5872 GB, free: 12.55 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.0001124/1.362, allocations: 143.5 kB / 0.5873 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/1.362, allocations: 23.78 kB / 0.5873 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/1.363, allocations: 0.5977 MB / 0.5879 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002648/1.363, allocations: 223 kB / 0.5881 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.363, allocations: 4.625 kB / 0.5881 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.363, allocations: 0.5625 kB / 0.5881 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/1.364, allocations: 0.6284 MB / 0.5888 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.364, allocations: 0 / 0.5888 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/1.364, allocations: 25.31 kB / 0.5888 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/1.364, allocations: 112.7 kB / 0.5889 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/1.364, allocations: 0 / 0.5889 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003264/1.364, allocations: 0.6429 MB / 0.5895 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.364, allocations: 4.844 kB / 0.5895 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/1.365, allocations: 332.1 kB / 0.5898 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/1.365, allocations: 25 kB / 0.5899 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/1.365, allocations: 11.89 kB / 0.5899 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/1.365, allocations: 12.06 kB / 0.5899 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/1.365, allocations: 11.92 kB / 0.5899 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/1.365, allocations: 5.188 kB / 0.5899 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001411/1.365, allocations: 215.2 kB / 0.5901 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.365, allocations: 0 / 0.5901 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002628/1.368, allocations: 1.243 MB / 0.5913 GB, free: 8.145 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.003935/1.371, allocations: 1.948 MB / 0.5932 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004495/1.372, allocations: 226.6 kB / 0.5934 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.372, allocations: 0 / 0.5934 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/1.372, allocations: 91.7 kB / 0.5935 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/1.372, allocations: 120.9 kB / 0.5936 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009216/1.373, allocations: 0.5153 MB / 0.5941 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/1.373, allocations: 164.7 kB / 0.5943 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/1.374, allocations: 24.5 kB / 0.5943 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/1.374, allocations: 0 / 0.5943 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of Templates: time 0.02736/1.401, allocations: 25.53 MB / 0.6193 GB, free: 11.85 MB / 0.5573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.639208498410881] Failed to read output from testmodel.py, exit status != 0: 1.6181186251342297 1.5419249449999999 0.278237148 Calling exit ...