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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4997/0.4997, allocations: 111.6 MB / 131.2 MB, free: 4.566 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 2.415e-06/2.415e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.758e-05, allocations: 2.312 kB / 176.2 MB, free: 9.16 MB / 170.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.TestSingularPressureLoss): time 1.03/1.03, allocations: 257 MB / 433.2 MB, free: 80 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02835/1.058, allocations: 33.05 MB / 466.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/1.059, allocations: 4 kB / 466.2 MB, free: 14.9 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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/SingularPressureLoss.mo:15:3-16:80: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/SingularPressureLoss.mo:17:3-18:78: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.0003225/1.059, allocations: 107.3 kB / 466.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/1.059, allocations: 111.2 kB / 466.4 MB, free: 14.69 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01825/1.077, allocations: 9.799 MB / 476.2 MB, free: 4.844 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004505/1.078, allocations: 346.2 kB / 476.6 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/1.078, allocations: 96.86 kB / 476.7 MB, free: 4.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/1.078, allocations: 215.3 kB / 476.9 MB, free: 4.195 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/1.078, allocations: 71.75 kB / 477 MB, free: 4.125 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/1.078, allocations: 16 kB / 477 MB, free: 4.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2046/1.283, allocations: 16.78 MB / 493.8 MB, free: 9.121 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/1.283, allocations: 46.7 kB / 493.8 MB, free: 9.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/1.283, allocations: 76.09 kB / 493.9 MB, free: 9.121 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/1.299, allocations: 10.73 MB / 0.4928 GB, free: 5.523 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.299, allocations: 1.312 kB / 0.4928 GB, free: 5.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.299, allocations: 2.844 kB / 0.4928 GB, free: 5.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/1.299, allocations: 0 / 0.4928 GB, free: 5.523 MB / 426.7 MB 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.002879/1.302, allocations: 1.492 MB / 0.4942 GB, free: 4.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.302, allocations: 14.48 kB / 0.4942 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/1.302, allocations: 41.62 kB / 0.4943 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/1.303, allocations: 170.5 kB / 0.4945 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.303, allocations: 17.44 kB / 0.4945 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.303, allocations: 19.3 kB / 0.4945 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/1.303, allocations: 253.8 kB / 0.4947 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/1.303, allocations: 0.9375 kB / 0.4947 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.303, allocations: 10.47 kB / 0.4947 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.303, allocations: 14.73 kB / 0.4948 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/1.303, allocations: 94.23 kB / 0.4948 GB, free: 4.012 MB / 426.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.01717/1.32, allocations: 11.1 MB / 0.5057 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/1.32, allocations: 74.05 kB / 0.5058 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/1.32, allocations: 40.59 kB / 0.5058 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07505/1.396, allocations: 43.74 MB / 0.5485 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.396, allocations: 33.39 kB / 0.5485 GB, free: 1.301 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/1.396, allocations: 0 / 0.5485 GB, free: 1.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006368/1.396, allocations: 232.6 kB / 0.5488 GB, free: 1.066 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/1.396, allocations: 55.41 kB / 0.5488 GB, free: 1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.396, allocations: 220.6 kB / 0.549 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.396, allocations: 33.62 kB / 0.5491 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.397, allocations: 203.3 kB / 0.5492 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/1.397, allocations: 105.3 kB / 0.5493 GB, free: 436 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/1.397, allocations: 59.31 kB / 0.5494 GB, free: 368 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/1.397, allocations: 0.5078 MB / 0.5499 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/1.397, allocations: 28.33 kB / 0.5499 GB, free: 15.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/1.397, allocations: 94.53 kB / 0.55 GB, free: 15.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/1.397, allocations: 136.1 kB / 0.5501 GB, free: 15.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.397, allocations: 4 kB / 0.5501 GB, free: 15.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002668/1.397, allocations: 196.3 kB / 0.5503 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.397, allocations: 12.12 kB / 0.5503 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.397, allocations: 0 / 0.5503 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/1.398, allocations: 95.06 kB / 0.5504 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/1.398, allocations: 4 kB / 0.5504 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004679/1.398, allocations: 0.8663 MB / 0.5513 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/1.398, allocations: 19.78 kB / 0.5513 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.398, allocations: 4 kB / 0.5513 GB, free: 14.33 MB / 490.7 MB 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 0.0001273/1.399, allocations: 164.6 kB / 0.5515 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/1.399, allocations: 23.86 kB / 0.5515 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/1.399, allocations: 0.5865 MB / 0.5521 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001592/1.399, allocations: 144.8 kB / 0.5522 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.399, allocations: 4.844 kB / 0.5522 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.399, allocations: 7.984 kB / 0.5522 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/1.4, allocations: 0.5866 MB / 0.5528 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.4, allocations: 1.359 kB / 0.5528 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/1.4, allocations: 15.98 kB / 0.5528 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/1.4, allocations: 77.02 kB / 0.5529 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.4, allocations: 0.5 kB / 0.5529 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003546/1.401, allocations: 0.8655 MB / 0.5537 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.401, allocations: 0 / 0.5537 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/1.401, allocations: 307.3 kB / 0.554 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/1.401, allocations: 35.61 kB / 0.5541 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.401, allocations: 11.95 kB / 0.5541 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/1.401, allocations: 0 / 0.5541 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.401, allocations: 7.984 kB / 0.5541 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.401, allocations: 8.562 kB / 0.5541 GB, free: 11.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001371/1.401, allocations: 212 kB / 0.5543 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.401, allocations: 4.031 kB / 0.5543 GB, free: 11.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002932/1.404, allocations: 1.208 MB / 0.5555 GB, free: 9.875 MB / 490.7 MB 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.003999/1.408, allocations: 1.902 MB / 0.5573 GB, free: 8.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/1.408, allocations: 174.3 kB / 0.5575 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.408, allocations: 0 / 0.5575 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/1.408, allocations: 78.64 kB / 0.5576 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.409, allocations: 112.5 kB / 0.5577 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/1.41, allocations: 479.7 kB / 0.5581 GB, free: 7.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/1.41, allocations: 88.25 kB / 0.5582 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/1.41, allocations: 20.36 kB / 0.5582 GB, free: 7.254 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/1.41, allocations: 20.5 kB / 0.5582 GB, free: 7.234 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/1.41, allocations: 0 / 0.5582 GB, free: 7.234 MB / 490.7 MB Notification: Performance of Templates: time 0.05036/1.46, allocations: 52.73 MB / 0.6097 GB, free: 2.77 MB / 0.5261 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.939651279244572]