Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.5595/0.5595, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0.75 kB / 217.9 MB, free: 8.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.171e-05, allocations: 4.562 kB / 217.9 MB, free: 8.688 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.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 0.9444/0.9444, allocations: 254.3 MB / 472.2 MB, free: 8.797 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2054/1.15, allocations: 31.08 MB / 0.4915 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/1.15, allocations: 4.844 kB / 0.4915 GB, free: 0.8984 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42: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/Bend.mo:58:3-60:43: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.0004747/1.15, allocations: 274.9 kB / 0.4918 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/1.151, allocations: 284 kB / 0.492 GB, free: 0.8789 MB / 442.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01804/1.169, allocations: 10.03 MB / 0.5018 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/1.169, allocations: 0.5073 MB / 0.5023 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/1.17, allocations: 163.5 kB / 0.5025 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/1.17, allocations: 329.8 kB / 0.5028 GB, free: 14.17 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/1.17, allocations: 277.9 kB / 0.5031 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/1.17, allocations: 23.09 kB / 0.5031 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/1.189, allocations: 16.94 MB / 0.5196 GB, free: 1.586 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/1.189, allocations: 171.2 kB / 0.5198 GB, free: 1.422 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/1.189, allocations: 154 kB / 0.5199 GB, free: 1.277 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/1.202, allocations: 11.27 MB / 0.5309 GB, free: 6.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/1.203, allocations: 0 / 0.5309 GB, free: 6.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.203, allocations: 1.75 kB / 0.5309 GB, free: 6.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/1.203, allocations: 0 / 0.5309 GB, free: 6.52 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00262/1.205, allocations: 1.806 MB / 0.5327 GB, free: 4.676 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.205, allocations: 8.031 kB / 0.5327 GB, free: 4.668 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/1.205, allocations: 77.36 kB / 0.5328 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/1.206, allocations: 439.6 kB / 0.5332 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.206, allocations: 16.5 kB / 0.5332 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/1.206, allocations: 24.89 kB / 0.5332 GB, free: 4.113 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/1.206, allocations: 496.4 kB / 0.5337 GB, free: 3.578 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.206, allocations: 0.8438 kB / 0.5337 GB, free: 3.578 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/1.206, allocations: 12 kB / 0.5337 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.206, allocations: 13.09 kB / 0.5337 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/1.206, allocations: 346.7 kB / 0.5341 GB, free: 3.219 MB / 474.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.01714/1.224, allocations: 11.36 MB / 0.5452 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/1.224, allocations: 150.6 kB / 0.5453 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/1.224, allocations: 86.56 kB / 0.5454 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07042/1.295, allocations: 43.62 MB / 0.588 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.295, allocations: 34.56 kB / 0.588 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/1.295, allocations: 4 kB / 0.588 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001098/1.296, allocations: 0.5108 MB / 0.5885 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.296, allocations: 102.8 kB / 0.5886 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/1.296, allocations: 0.9733 MB / 0.5896 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.296, allocations: 29.7 kB / 0.5896 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.297, allocations: 307 kB / 0.5899 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/1.297, allocations: 121.4 kB / 0.59 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/1.297, allocations: 73.64 kB / 0.5901 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.297, allocations: 378.8 kB / 0.5904 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/1.297, allocations: 161.5 kB / 0.5906 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.297, allocations: 287.7 kB / 0.5909 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/1.298, allocations: 351.6 kB / 0.5912 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.298, allocations: 0 / 0.5912 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004498/1.298, allocations: 0.5269 MB / 0.5917 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.298, allocations: 11.98 kB / 0.5917 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.298, allocations: 0 / 0.5917 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008123/1.299, allocations: 223.1 kB / 0.5919 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/1.299, allocations: 27.92 kB / 0.592 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/1.299, allocations: 0.6703 MB / 0.5926 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.299, allocations: 36.38 kB / 0.5927 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/1.299, allocations: 15.94 kB / 0.5927 GB, free: 7.102 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/1.3, allocations: 247.4 kB / 0.5929 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/1.3, allocations: 68.28 kB / 0.593 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/1.3, allocations: 0.6876 MB / 0.5936 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002261/1.3, allocations: 255.2 kB / 0.5939 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.3, allocations: 3.938 kB / 0.5939 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.3, allocations: 0 / 0.5939 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/1.301, allocations: 0.8343 MB / 0.5947 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.301, allocations: 0.625 kB / 0.5947 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/1.301, allocations: 23.92 kB / 0.5947 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/1.302, allocations: 181.2 kB / 0.5949 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.302, allocations: 8 kB / 0.5949 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003942/1.302, allocations: 0.7071 MB / 0.5956 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.302, allocations: 0 / 0.5956 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/1.302, allocations: 404.8 kB / 0.596 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.303, allocations: 88.19 kB / 0.5961 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/1.303, allocations: 19.83 kB / 0.5961 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/1.303, allocations: 9.875 kB / 0.5961 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/1.303, allocations: 19.91 kB / 0.5961 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.303, allocations: 4 kB / 0.5961 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005736/1.303, allocations: 0.7841 MB / 0.5969 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.303, allocations: 0 / 0.5969 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003256/1.307, allocations: 1.284 MB / 0.5981 GB, free: 1.336 MB / 0.5261 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 (12): * Single equations (assignments): 11 * 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.003099/1.31, allocations: 1.97 MB / 0.6001 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004368/1.31, allocations: 339.1 kB / 0.6004 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.31, allocations: 0 / 0.6004 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/1.31, allocations: 100.9 kB / 0.6005 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/1.311, allocations: 140.5 kB / 0.6006 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.312, allocations: 1.148 MB / 0.6017 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/1.312, allocations: 333.3 kB / 0.6021 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/1.312, allocations: 32.5 kB / 0.6021 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/1.312, allocations: 0 / 0.6021 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.02888/1.341, allocations: 30.16 MB / 0.6315 GB, free: 15.43 MB / 0.573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.189043874852359] Failed to read output from testmodel.py, exit status != 0: 1.5785545371472836 1.49930451 0.294995313 Calling exit ...