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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7776/0.7776, allocations: 152.6 MB / 169.6 MB, free: 14.92 MB / 142.1 MB " [Timeout remaining time 179] 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.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 0.0004607/0.0004607, allocations: 14.75 kB / 245.6 MB, free: 15.79 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0512/0.05166, allocations: 33.06 MB / 278.6 MB, free: 0.7891 MB / 222.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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.529/1.581, allocations: 301 MB / 0.5661 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04022/1.621, allocations: 34.82 MB / 0.6001 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/1.621, allocations: 4 kB / 0.6001 GB, free: 15.33 MB / 494.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.000353/1.622, allocations: 129 kB / 0.6002 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/1.622, allocations: 111.2 kB / 0.6003 GB, free: 15.1 MB / 494.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.0217/1.644, allocations: 9.812 MB / 0.6099 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00047/1.644, allocations: 350.9 kB / 0.6102 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/1.644, allocations: 100.6 kB / 0.6103 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/1.644, allocations: 155.3 kB / 0.6105 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/1.645, allocations: 119.4 kB / 0.6106 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/1.645, allocations: 16 kB / 0.6106 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02869/1.673, allocations: 17.96 MB / 0.6282 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/1.673, allocations: 51.78 kB / 0.6282 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/1.674, allocations: 139.3 kB / 0.6283 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/1.689, allocations: 8.478 MB / 0.6366 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.689, allocations: 0 / 0.6366 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/1.689, allocations: 0 / 0.6366 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.689, allocations: 0 / 0.6366 GB, free: 9.871 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.003421/1.692, allocations: 1.514 MB / 0.6381 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/1.692, allocations: 8.031 kB / 0.6381 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/1.692, allocations: 27.81 kB / 0.6381 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/1.693, allocations: 238.6 kB / 0.6384 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.693, allocations: 12.44 kB / 0.6384 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.693, allocations: 20 kB / 0.6384 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/1.693, allocations: 313.1 kB / 0.6387 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.693, allocations: 11.88 kB / 0.6387 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/1.693, allocations: 8 kB / 0.6387 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/1.693, allocations: 15.98 kB / 0.6387 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/1.693, allocations: 173 kB / 0.6389 GB, free: 7.414 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.03776/1.731, allocations: 18.18 MB / 0.6566 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/1.732, allocations: 122.6 kB / 0.6567 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/1.732, allocations: 72.77 kB / 0.6568 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3077/2.039, allocations: 77.91 MB / 0.7329 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/2.039, allocations: 30.56 kB / 0.7329 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/2.039, allocations: 4 kB / 0.7329 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0007354/2.04, allocations: 425.6 kB / 0.7333 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/2.04, allocations: 80.23 kB / 0.7334 GB, free: 209 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/2.04, allocations: 219.6 kB / 0.7336 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/2.04, allocations: 28.45 kB / 0.7337 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/2.04, allocations: 166.2 kB / 0.7338 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/2.04, allocations: 111.3 kB / 0.7339 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/2.041, allocations: 57.59 kB / 0.734 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/2.041, allocations: 334.4 kB / 0.7343 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/2.041, allocations: 74.62 kB / 0.7344 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/2.041, allocations: 131.3 kB / 0.7345 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/2.041, allocations: 225.3 kB / 0.7347 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.041, allocations: 2.219 kB / 0.7347 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003423/2.041, allocations: 302.4 kB / 0.735 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/2.041, allocations: 5.312 kB / 0.735 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/2.041, allocations: 2.531 kB / 0.735 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008347/2.042, allocations: 136.7 kB / 0.7351 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/2.042, allocations: 20.08 kB / 0.7352 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003447/2.043, allocations: 0.6116 MB / 0.7357 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/2.043, allocations: 34.52 kB / 0.7358 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/2.043, allocations: 5.844 kB / 0.7358 GB, free: 207.7 MB / 0.5919 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 8.473e-05/2.043, allocations: 143.8 kB / 0.7359 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/2.043, allocations: 25.86 kB / 0.7359 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/2.044, allocations: 0.5822 MB / 0.7365 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004476/2.044, allocations: 225.5 kB / 0.7367 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.044, allocations: 0 / 0.7367 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/2.044, allocations: 0 / 0.7367 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/2.045, allocations: 0.7317 MB / 0.7374 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/2.045, allocations: 0 / 0.7374 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/2.045, allocations: 14.72 kB / 0.7375 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/2.045, allocations: 123 kB / 0.7376 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/2.045, allocations: 2.688 kB / 0.7376 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003143/2.046, allocations: 0.6287 MB / 0.7382 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.046, allocations: 8.094 kB / 0.7382 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/2.046, allocations: 344.4 kB / 0.7385 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/2.046, allocations: 109.6 kB / 0.7386 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/2.046, allocations: 9.828 kB / 0.7386 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/2.046, allocations: 3.938 kB / 0.7386 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/2.046, allocations: 9.125 kB / 0.7387 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/2.046, allocations: 6.062 kB / 0.7387 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001697/2.046, allocations: 239.8 kB / 0.7389 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.046, allocations: 0 / 0.7389 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002271/2.049, allocations: 1.23 MB / 0.7401 GB, free: 206.1 MB / 0.5919 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.003635/2.052, allocations: 1.778 MB / 0.7418 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004346/2.053, allocations: 226.3 kB / 0.742 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/2.053, allocations: 7.734 kB / 0.7421 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/2.053, allocations: 86.42 kB / 0.7421 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/2.054, allocations: 123.6 kB / 0.7423 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/2.054, allocations: 0.5542 MB / 0.7428 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/2.054, allocations: 0.7639 MB / 0.7435 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/2.054, allocations: 22.91 kB / 0.7436 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/2.054, allocations: 0 / 0.7436 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.02453/2.079, allocations: 25.36 MB / 0.7683 GB, free: 183.4 MB / 0.5919 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: 9.119011364877224] Failed to read output from testmodel.py, exit status != 0: 2.1911051580682397 2.198685497 0.50795227 Calling exit ...