Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.5663/0.5663, allocations: 120.4 MB / 140.2 MB, free: 13.01 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.681e-05, allocations: 4.094 kB / 218 MB, free: 8.609 MB / 202.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.TestBend): time 0.9647/0.9647, allocations: 254.4 MB / 472.4 MB, free: 9.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3748/1.34, allocations: 167.5 MB / 0.625 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/1.34, allocations: 11.94 kB / 0.625 GB, free: 11.43 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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/Bend.mo:57:3-58:67: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/Bend.mo:59:3-60:67: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.0003831/1.34, allocations: 203.1 kB / 0.6252 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/1.341, allocations: 294.5 kB / 0.6254 GB, free: 10.94 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.02845/1.369, allocations: 12.57 MB / 0.6377 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007015/1.37, allocations: 0.565 MB / 0.6383 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/1.37, allocations: 241.2 kB / 0.6385 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/1.371, allocations: 363.2 kB / 0.6388 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/1.371, allocations: 327.3 kB / 0.6392 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/1.371, allocations: 44 kB / 0.6392 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/1.396, allocations: 19.74 MB / 0.6585 GB, free: 9.062 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/1.397, allocations: 219.3 kB / 0.6587 GB, free: 8.848 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/1.397, allocations: 199.4 kB / 0.6589 GB, free: 8.652 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02235/1.419, allocations: 13.42 MB / 0.672 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.419, allocations: 0 / 0.672 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/1.419, allocations: 0 / 0.672 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.419, allocations: 0 / 0.672 GB, free: 11.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003891/1.423, allocations: 2.283 MB / 0.6742 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.423, allocations: 8.031 kB / 0.6742 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/1.423, allocations: 91.44 kB / 0.6743 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/1.424, allocations: 0.5139 MB / 0.6748 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.424, allocations: 36.94 kB / 0.6748 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.424, allocations: 36 kB / 0.6749 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/1.424, allocations: 0.534 MB / 0.6754 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.424, allocations: 0 / 0.6754 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/1.424, allocations: 16 kB / 0.6754 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.424, allocations: 19.94 kB / 0.6754 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/1.425, allocations: 419.6 kB / 0.6758 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/1.429, allocations: 3.67 MB / 0.6794 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/1.43, allocations: 110.6 kB / 0.6795 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/1.43, allocations: 40.89 kB / 0.6796 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1426/1.572, allocations: 88.71 MB / 0.7662 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.572, allocations: 34.56 kB / 0.7662 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/1.572, allocations: 0 / 0.7662 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001287/1.574, allocations: 395.2 kB / 0.7666 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.574, allocations: 103.4 kB / 0.7667 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/1.575, allocations: 1.094 MB / 0.7678 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/1.575, allocations: 29.64 kB / 0.7678 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.575, allocations: 388 kB / 0.7682 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/1.575, allocations: 47.64 kB / 0.7682 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/1.575, allocations: 73.64 kB / 0.7683 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.575, allocations: 375.3 kB / 0.7686 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.575, allocations: 135.8 kB / 0.7688 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.576, allocations: 309.4 kB / 0.7691 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/1.576, allocations: 319.2 kB / 0.7694 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.576, allocations: 0 / 0.7694 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000793/1.577, allocations: 0.5584 MB / 0.7699 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.577, allocations: 8.656 kB / 0.7699 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.577, allocations: 4 kB / 0.7699 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/1.577, allocations: 197.7 kB / 0.7701 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/1.577, allocations: 47.92 kB / 0.7702 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/1.578, allocations: 0.6304 MB / 0.7708 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/1.578, allocations: 44.28 kB / 0.7708 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/1.578, allocations: 17.69 kB / 0.7708 GB, free: 5.449 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003228/1.578, allocations: 274.7 kB / 0.7711 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/1.578, allocations: 71.58 kB / 0.7712 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/1.579, allocations: 263.9 kB / 0.7714 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.579, allocations: 4 kB / 0.7714 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.579, allocations: 2.156 kB / 0.7714 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.579, allocations: 0 / 0.7714 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/1.58, allocations: 0.7315 MB / 0.7721 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.58, allocations: 0 / 0.7721 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/1.58, allocations: 4.625 kB / 0.7721 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/1.58, allocations: 157.6 kB / 0.7723 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.58, allocations: 4 kB / 0.7723 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003421/1.581, allocations: 0.6304 MB / 0.7729 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.581, allocations: 8.094 kB / 0.7729 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/1.581, allocations: 420 kB / 0.7733 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.581, allocations: 103.5 kB / 0.7734 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/1.581, allocations: 0 / 0.7734 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/1.582, allocations: 23.92 kB / 0.7734 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/1.582, allocations: 7.984 kB / 0.7735 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/1.582, allocations: 4 kB / 0.7735 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000573/1.582, allocations: 0.7802 MB / 0.7742 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.582, allocations: 0 / 0.7742 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003324/1.585, allocations: 1.679 MB / 0.7759 GB, free: 204 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1606/1.746, allocations: 2.712 MB / 0.7785 GB, free: 321.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005374/1.747, allocations: 224.4 kB / 0.7787 GB, free: 321.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.747, allocations: 0 / 0.7787 GB, free: 321.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/1.747, allocations: 58.39 kB / 0.7788 GB, free: 321.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/1.747, allocations: 94.98 kB / 0.7789 GB, free: 321.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.748, allocations: 1.149 MB / 0.78 GB, free: 320.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/1.749, allocations: 347.4 kB / 0.7803 GB, free: 320.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/1.749, allocations: 35.34 kB / 0.7804 GB, free: 320.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/1.749, allocations: 0.5469 kB / 0.7804 GB, free: 320.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02798/1.777, allocations: 36.18 MB / 0.8157 GB, free: 288.6 MB / 0.6823 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.08579868171364] Failed to read output from testmodel.py, exit status != 0: 1.9882232649251819 1.910674163 0.48925197000000004 Calling exit ...