Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.7828/0.7828, allocations: 152.6 MB / 169.6 MB, free: 15.16 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.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 22.27 kB / 245.6 MB, free: 15.56 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05069/0.05115, allocations: 33.06 MB / 278.7 MB, free: 0.6172 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.SimpleExamples.TestSingularPressureLoss): time 1.537/1.588, allocations: 301.1 MB / 0.5662 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03909/1.627, allocations: 34.56 MB / 0.5999 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/1.627, allocations: 0 / 0.5999 GB, free: 15.94 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0003549/1.628, allocations: 136.5 kB / 0.6001 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/1.628, allocations: 107.2 kB / 0.6002 GB, free: 15.71 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.02108/1.649, allocations: 9.734 MB / 0.6097 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/1.65, allocations: 334.4 kB / 0.61 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/1.65, allocations: 104.3 kB / 0.6101 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/1.65, allocations: 131.5 kB / 0.6102 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/1.65, allocations: 107.5 kB / 0.6103 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/1.65, allocations: 16 kB / 0.6103 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02823/1.678, allocations: 17.9 MB / 0.6278 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/1.678, allocations: 39.86 kB / 0.6279 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/1.678, allocations: 135.3 kB / 0.628 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01541/1.694, allocations: 8.408 MB / 0.6362 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.694, allocations: 0 / 0.6362 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/1.694, allocations: 0 / 0.6362 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.694, allocations: 0 / 0.6362 GB, free: 10.76 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.003424/1.697, allocations: 1.483 MB / 0.6376 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/1.697, allocations: 12.03 kB / 0.6376 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/1.697, allocations: 35.73 kB / 0.6377 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/1.698, allocations: 214.8 kB / 0.6379 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.698, allocations: 12.44 kB / 0.6379 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/1.698, allocations: 23.94 kB / 0.6379 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/1.698, allocations: 286.8 kB / 0.6382 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.698, allocations: 7.938 kB / 0.6382 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/1.698, allocations: 4 kB / 0.6382 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/1.698, allocations: 12 kB / 0.6382 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/1.698, allocations: 160.4 kB / 0.6384 GB, free: 8.395 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.03767/1.736, allocations: 18.12 MB / 0.6561 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/1.736, allocations: 106.5 kB / 0.6562 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/1.737, allocations: 64.94 kB / 0.6562 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3046/2.041, allocations: 77.73 MB / 0.7321 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/2.041, allocations: 33.81 kB / 0.7322 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/2.041, allocations: 2.578 kB / 0.7322 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=32): time 0.0006534/2.042, allocations: 403.1 kB / 0.7326 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.629e-05/2.042, allocations: 51.41 kB / 0.7326 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/2.042, allocations: 205.6 kB / 0.7328 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/2.042, allocations: 28.48 kB / 0.7328 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/2.042, allocations: 146.8 kB / 0.733 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/2.042, allocations: 112.6 kB / 0.7331 GB, free: 210 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/2.042, allocations: 40.22 kB / 0.7331 GB, free: 210 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/2.042, allocations: 341.7 kB / 0.7334 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/2.042, allocations: 69.55 kB / 0.7335 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/2.042, allocations: 113 kB / 0.7336 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/2.043, allocations: 198.3 kB / 0.7338 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.043, allocations: 0 / 0.7338 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002904/2.043, allocations: 275.7 kB / 0.7341 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/2.043, allocations: 10.47 kB / 0.7341 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.043, allocations: 1.25 kB / 0.7341 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007375/2.044, allocations: 142.3 kB / 0.7342 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/2.044, allocations: 11.25 kB / 0.7342 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003182/2.044, allocations: 0.609 MB / 0.7348 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/2.044, allocations: 31.27 kB / 0.7348 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/2.044, allocations: 9.062 kB / 0.7349 GB, free: 209 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (singularPressureLoss.C2.b,singularPressureLoss.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 (11): * Single equations (assignments): 8 * 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.111e-05/2.044, allocations: 134.2 kB / 0.735 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/2.044, allocations: 20.98 kB / 0.735 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/2.045, allocations: 0.5585 MB / 0.7355 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002467/2.045, allocations: 194.3 kB / 0.7357 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/2.045, allocations: 0 / 0.7357 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/2.045, allocations: 3.75 kB / 0.7357 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/2.045, allocations: 0.6658 MB / 0.7364 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/2.045, allocations: 0 / 0.7364 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/2.045, allocations: 17.45 kB / 0.7364 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/2.046, allocations: 113.8 kB / 0.7365 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/2.046, allocations: 7.688 kB / 0.7365 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/2.046, allocations: 0.6273 MB / 0.7371 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.046, allocations: 0 / 0.7371 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/2.046, allocations: 309.1 kB / 0.7374 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/2.046, allocations: 110 kB / 0.7375 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/2.046, allocations: 4.656 kB / 0.7375 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/2.046, allocations: 5.812 kB / 0.7375 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/2.046, allocations: 9.703 kB / 0.7376 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/2.046, allocations: 2.406 kB / 0.7376 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001672/2.047, allocations: 232.8 kB / 0.7378 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.047, allocations: 4 kB / 0.7378 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002117/2.049, allocations: 1.194 MB / 0.7389 GB, free: 207.4 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 (11): * Single equations (assignments): 10 * 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.003928/2.053, allocations: 1.735 MB / 0.7406 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003829/2.053, allocations: 204.7 kB / 0.7408 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/2.053, allocations: 3.938 kB / 0.7408 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/2.053, allocations: 77.22 kB / 0.7409 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/2.054, allocations: 131.5 kB / 0.741 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/2.054, allocations: 0.5218 MB / 0.7415 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/2.055, allocations: 0.767 MB / 0.7423 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/2.055, allocations: 18.78 kB / 0.7423 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/2.055, allocations: 3.656 kB / 0.7423 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.02118/2.076, allocations: 24.77 MB / 0.7665 GB, free: 185.7 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.05836418713443] Failed to read output from testmodel.py, exit status != 0: 2.1789495579432696 2.186472287 0.490711282 Calling exit ...