Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.783/0.783, allocations: 111.6 MB / 131 MB, free: 5.09 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 175.7 MB, free: 9.477 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.489e-05, allocations: 5.047 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.611/1.611, allocations: 254.5 MB / 430.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4001/2.012, allocations: 164.9 MB / 0.5812 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/2.012, allocations: 7.938 kB / 0.5812 GB, free: 8.512 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001475/2.012, allocations: 43.59 kB / 0.5812 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/2.012, allocations: 118.9 kB / 0.5813 GB, free: 8.352 MB / 0.4948 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.03237/2.045, allocations: 11.59 MB / 0.5927 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000653/2.045, allocations: 390.5 kB / 0.593 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/2.046, allocations: 157.2 kB / 0.5932 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/2.046, allocations: 239.4 kB / 0.5934 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/2.046, allocations: 115.6 kB / 0.5935 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/2.046, allocations: 32 kB / 0.5935 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03771/2.084, allocations: 18.64 MB / 0.6117 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/2.084, allocations: 87.67 kB / 0.6118 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/2.084, allocations: 123.7 kB / 0.612 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02482/2.109, allocations: 12.33 MB / 0.624 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/2.109, allocations: 0 / 0.624 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/2.109, allocations: 0 / 0.624 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.683e-06/2.109, allocations: 0 / 0.624 GB, free: 12.58 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004306/2.114, allocations: 1.748 MB / 0.6257 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.114, allocations: 11.98 kB / 0.6257 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/2.114, allocations: 75.72 kB / 0.6258 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/2.114, allocations: 268.5 kB / 0.626 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/2.114, allocations: 28.94 kB / 0.6261 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/2.114, allocations: 32 kB / 0.6261 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/2.115, allocations: 341 kB / 0.6264 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/2.115, allocations: 7.938 kB / 0.6264 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/2.115, allocations: 19.98 kB / 0.6265 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/2.115, allocations: 15.94 kB / 0.6265 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/2.115, allocations: 206.5 kB / 0.6267 GB, free: 9.75 MB / 0.5417 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.00775/2.123, allocations: 3.074 MB / 0.6297 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/2.123, allocations: 59.94 kB / 0.6297 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/2.123, allocations: 12.86 kB / 0.6297 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1761/2.3, allocations: 44.15 MB / 0.6729 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/2.3, allocations: 34.56 kB / 0.6729 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/2.3, allocations: 0 / 0.6729 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0007144/2.3, allocations: 151 kB / 0.673 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/2.3, allocations: 55.41 kB / 0.6731 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/2.301, allocations: 300 kB / 0.6734 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/2.301, allocations: 25.7 kB / 0.6734 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/2.301, allocations: 247.8 kB / 0.6736 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/2.301, allocations: 27.78 kB / 0.6737 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/2.301, allocations: 57.66 kB / 0.6737 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001849/2.301, allocations: 326.8 kB / 0.674 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/2.301, allocations: 39.97 kB / 0.6741 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/2.302, allocations: 135.2 kB / 0.6742 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/2.302, allocations: 191.9 kB / 0.6744 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.302, allocations: 3.938 kB / 0.6744 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005454/2.303, allocations: 254.5 kB / 0.6746 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/2.303, allocations: 8 kB / 0.6746 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/2.303, allocations: 4 kB / 0.6746 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/2.303, allocations: 121.9 kB / 0.6747 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/2.304, allocations: 35.92 kB / 0.6748 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005407/2.304, allocations: 0.5524 MB / 0.6753 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/2.304, allocations: 27.84 kB / 0.6753 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/2.304, allocations: 12.23 kB / 0.6754 GB, free: 7.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001944/2.304, allocations: 157.8 kB / 0.6755 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/2.305, allocations: 23.86 kB / 0.6755 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/2.305, allocations: 140.8 kB / 0.6757 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/2.305, allocations: 0 / 0.6757 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.305, allocations: 8 kB / 0.6757 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/2.305, allocations: 0 / 0.6757 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/2.305, allocations: 209.2 kB / 0.6759 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/2.305, allocations: 0 / 0.6759 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/2.305, allocations: 4 kB / 0.6759 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/2.306, allocations: 72.81 kB / 0.6759 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/2.306, allocations: 4 kB / 0.676 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005161/2.306, allocations: 0.564 MB / 0.6765 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/2.306, allocations: 0 / 0.6765 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/2.306, allocations: 141.7 kB / 0.6766 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/2.307, allocations: 39.89 kB / 0.6767 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/2.307, allocations: 7.953 kB / 0.6767 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/2.307, allocations: 11.98 kB / 0.6767 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/2.307, allocations: 0 / 0.6767 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/2.307, allocations: 4 kB / 0.6767 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002512/2.307, allocations: 203 kB / 0.6769 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/2.307, allocations: 4.062 kB / 0.6769 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003559/2.311, allocations: 1.465 MB / 0.6783 GB, free: 4.438 MB / 0.5886 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 (2): * Single equations (assignments): 1 * 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.006457/2.317, allocations: 2.397 MB / 0.6807 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000416/2.317, allocations: 107.8 kB / 0.6808 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/2.317, allocations: 0 / 0.6808 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/2.317, allocations: 23.98 kB / 0.6808 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/2.318, allocations: 67.05 kB / 0.6809 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009586/2.319, allocations: 478.3 kB / 0.6813 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/2.319, allocations: 168.8 kB / 0.6815 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001243/2.319, allocations: 42 kB / 0.6815 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/2.319, allocations: 20.5 kB / 0.6815 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/2.319, allocations: 0 / 0.6815 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of Templates: time 0.07335/2.393, allocations: 45.59 MB / 0.7261 GB, free: 3.527 MB / 0.6355 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.46342949802056]