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.8151/0.8151, allocations: 111.6 MB / 131 MB, free: 5.082 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 1.664e-06/1.664e-06, allocations: 0 / 175.7 MB, free: 9.48 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.385e-05, allocations: 8.938 kB / 175.7 MB, free: 9.473 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.644/1.644, allocations: 254.5 MB / 430.2 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04969/1.694, allocations: 30.58 MB / 460.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/1.694, allocations: 3.938 kB / 460.8 MB, free: 2.008 MB / 410.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.0004032/1.694, allocations: 91.47 kB / 460.9 MB, free: 1.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/1.695, allocations: 127.1 kB / 461 MB, free: 1.793 MB / 410.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.02968/1.724, allocations: 9.783 MB / 470.8 MB, free: 7.973 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/1.725, allocations: 346.3 kB / 471.1 MB, free: 7.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/1.725, allocations: 96.84 kB / 471.2 MB, free: 7.539 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/1.726, allocations: 203.4 kB / 471.4 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/1.726, allocations: 79.73 kB / 471.5 MB, free: 7.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/1.726, allocations: 20 kB / 471.5 MB, free: 7.242 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03724/1.763, allocations: 16.78 MB / 488.3 MB, free: 6.438 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/1.763, allocations: 47.77 kB / 488.3 MB, free: 6.391 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/1.764, allocations: 79.84 kB / 488.4 MB, free: 6.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2283/1.992, allocations: 10.79 MB / 499.2 MB, free: 22.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.992, allocations: 1.281 kB / 499.2 MB, free: 22.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.992, allocations: 0.7031 kB / 499.2 MB, free: 22.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/1.992, allocations: 0.875 kB / 499.2 MB, free: 22.33 MB / 442.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.007527/1.999, allocations: 1.387 MB / 0.4889 GB, free: 21.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.999, allocations: 16.22 kB / 0.4889 GB, free: 21.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/2, allocations: 46.09 kB / 0.4889 GB, free: 21.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/2, allocations: 165.7 kB / 0.4891 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/2, allocations: 15.94 kB / 0.4891 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/2, allocations: 19.59 kB / 0.4891 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/2.001, allocations: 289.5 kB / 0.4894 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/2.001, allocations: 4.594 kB / 0.4894 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/2.001, allocations: 10.03 kB / 0.4894 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/2.001, allocations: 13.28 kB / 0.4894 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/2.001, allocations: 167.8 kB / 0.4896 GB, free: 21.26 MB / 442.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.057/2.058, allocations: 10.79 MB / 0.5001 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/2.058, allocations: 106.8 kB / 0.5002 GB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/2.058, allocations: 62.5 kB / 0.5003 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1426/2.201, allocations: 43.62 MB / 0.5429 GB, free: 2.516 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/2.201, allocations: 34.56 kB / 0.5429 GB, free: 2.473 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/2.201, allocations: 4 kB / 0.5429 GB, free: 2.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008854/2.202, allocations: 322.4 kB / 0.5432 GB, free: 2.242 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/2.202, allocations: 55.41 kB / 0.5433 GB, free: 2.176 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/2.202, allocations: 169.2 kB / 0.5434 GB, free: 2.023 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/2.202, allocations: 25.7 kB / 0.5435 GB, free: 1.992 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/2.202, allocations: 166 kB / 0.5436 GB, free: 1.844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/2.203, allocations: 106 kB / 0.5437 GB, free: 1.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/2.203, allocations: 39.77 kB / 0.5438 GB, free: 1.715 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/2.203, allocations: 338.4 kB / 0.5441 GB, free: 1.383 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/2.203, allocations: 73 kB / 0.5441 GB, free: 1.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/2.203, allocations: 116.7 kB / 0.5443 GB, free: 1.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/2.204, allocations: 200.4 kB / 0.5444 GB, free: 1.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.204, allocations: 0.5469 kB / 0.5444 GB, free: 1.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004546/2.204, allocations: 278.6 kB / 0.5447 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/2.204, allocations: 8 kB / 0.5447 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/2.204, allocations: 0 / 0.5447 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009301/2.205, allocations: 146.2 kB / 0.5449 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/2.205, allocations: 11.98 kB / 0.5449 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006594/2.206, allocations: 0.6102 MB / 0.5455 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/2.206, allocations: 19.78 kB / 0.5455 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/2.206, allocations: 4 kB / 0.5455 GB, free: 172 kB / 458.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.0001481/2.206, allocations: 133.4 kB / 0.5456 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/2.206, allocations: 23.8 kB / 0.5456 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/2.207, allocations: 0.5602 MB / 0.5462 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000375/2.207, allocations: 201.2 kB / 0.5464 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/2.207, allocations: 0 / 0.5464 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/2.207, allocations: 3.984 kB / 0.5464 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/2.208, allocations: 0.5884 MB / 0.547 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/2.208, allocations: 0 / 0.547 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/2.208, allocations: 16 kB / 0.547 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/2.209, allocations: 106.6 kB / 0.5471 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/2.209, allocations: 7.5 kB / 0.5471 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006027/2.209, allocations: 0.64 MB / 0.5477 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/2.209, allocations: 0 / 0.5477 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/2.21, allocations: 303.2 kB / 0.548 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/2.21, allocations: 28.41 kB / 0.548 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/2.21, allocations: 13.2 kB / 0.548 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/2.21, allocations: 1.688 kB / 0.548 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/2.21, allocations: 13.53 kB / 0.548 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/2.21, allocations: 7.188 kB / 0.5481 GB, free: 13.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002275/2.21, allocations: 202.8 kB / 0.5482 GB, free: 13.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.21, allocations: 0 / 0.5482 GB, free: 13.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004005/2.214, allocations: 1.204 MB / 0.5494 GB, free: 12.57 MB / 474.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.006951/2.221, allocations: 1.899 MB / 0.5513 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005641/2.222, allocations: 205.6 kB / 0.5515 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/2.222, allocations: 0 / 0.5515 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/2.222, allocations: 67.91 kB / 0.5515 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/2.223, allocations: 121.5 kB / 0.5517 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/2.223, allocations: 477.1 kB / 0.5521 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/2.224, allocations: 155.5 kB / 0.5523 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.783e-05/2.224, allocations: 22.83 kB / 0.5523 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/2.224, allocations: 16.5 kB / 0.5523 GB, free: 10 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/2.224, allocations: 1.422 kB / 0.5523 GB, free: 10 MB / 474.7 MB Notification: Performance of Templates: time 0.06818/2.292, allocations: 42.05 MB / 0.5934 GB, free: 180 kB / 0.4948 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: 8.200985272997059]