Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8472/0.8472, allocations: 153.8 MB / 172.7 MB, free: 4.957 MB / 142.1 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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005416, allocations: 7.984 kB / 249.8 MB, free: 4.473 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1793, allocations: 33.36 MB / 283.2 MB, free: 1.824 MB / 222.1 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.TestBend): time 1.911/2.09, allocations: 307.6 MB / 0.577 GB, free: 16.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04265/2.133, allocations: 35.35 MB / 0.6115 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/2.133, allocations: 7.406 kB / 0.6115 GB, free: 13.91 MB / 494.1 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.0009071/2.134, allocations: 290.8 kB / 0.6118 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/2.135, allocations: 281.9 kB / 0.6121 GB, free: 13.74 MB / 494.1 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.03759/2.173, allocations: 10.07 MB / 0.6219 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/2.174, allocations: 0.5026 MB / 0.6224 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/2.174, allocations: 152.7 kB / 0.6225 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/2.174, allocations: 251.1 kB / 0.6228 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/2.175, allocations: 327 kB / 0.6231 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/2.175, allocations: 24 kB / 0.6231 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03964/2.215, allocations: 18.08 MB / 0.6408 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/2.215, allocations: 175.4 kB / 0.6409 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/2.215, allocations: 278.2 kB / 0.6412 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02441/2.24, allocations: 8.898 MB / 0.6499 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/2.24, allocations: 0 / 0.6499 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/2.24, allocations: 0 / 0.6499 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.098e-05/2.24, allocations: 0 / 0.6499 GB, free: 10.72 MB / 0.5137 GB 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.005437/2.245, allocations: 1.822 MB / 0.6517 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/2.245, allocations: 9.062 kB / 0.6517 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/2.245, allocations: 70.53 kB / 0.6518 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/2.245, allocations: 79.47 kB / 0.6518 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/2.246, allocations: 444.9 kB / 0.6523 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/2.246, allocations: 16.5 kB / 0.6523 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/2.246, allocations: 25.69 kB / 0.6523 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/2.247, allocations: 432.9 kB / 0.6527 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/2.247, allocations: 0 / 0.6527 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/2.247, allocations: 12 kB / 0.6527 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/2.247, allocations: 15.98 kB / 0.6527 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/2.247, allocations: 354.4 kB / 0.6531 GB, free: 7.367 MB / 0.5137 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.03725/2.285, allocations: 11.82 MB / 0.6646 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/2.285, allocations: 156.2 kB / 0.6648 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/2.285, allocations: 76.84 kB / 0.6648 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/2.435, allocations: 43.44 MB / 0.7073 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/2.435, allocations: 34.5 kB / 0.7073 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/2.435, allocations: 4 kB / 0.7073 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002036/2.437, allocations: 0.5222 MB / 0.7078 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/2.437, allocations: 107.8 kB / 0.7079 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/2.438, allocations: 1.004 MB / 0.7089 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/2.439, allocations: 37.7 kB / 0.7089 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/2.439, allocations: 304.4 kB / 0.7092 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/2.439, allocations: 130.8 kB / 0.7093 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/2.439, allocations: 61.69 kB / 0.7094 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002884/2.439, allocations: 378.8 kB / 0.7098 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/2.44, allocations: 160.4 kB / 0.7099 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/2.44, allocations: 235.1 kB / 0.7101 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/2.44, allocations: 348.8 kB / 0.7105 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/2.44, allocations: 0 / 0.7105 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009091/2.441, allocations: 0.5397 MB / 0.711 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/2.441, allocations: 8 kB / 0.711 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.441, allocations: 224 / 0.711 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/2.443, allocations: 225.9 kB / 0.7112 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/2.443, allocations: 27.92 kB / 0.7112 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/2.444, allocations: 0.6645 MB / 0.7119 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/2.444, allocations: 43.62 kB / 0.7119 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/2.444, allocations: 17.77 kB / 0.712 GB, free: 10.69 MB / 0.5762 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.0003436/2.444, allocations: 253.7 kB / 0.7122 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/2.445, allocations: 63.58 kB / 0.7123 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/2.446, allocations: 0.6873 MB / 0.7129 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003987/2.446, allocations: 250.9 kB / 0.7132 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/2.446, allocations: 0.875 kB / 0.7132 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/2.446, allocations: 7.875 kB / 0.7132 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/2.448, allocations: 0.9474 MB / 0.7141 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/2.448, allocations: 0 / 0.7141 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/2.448, allocations: 16.73 kB / 0.7141 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009622/2.449, allocations: 185.4 kB / 0.7143 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/2.449, allocations: 8.797 kB / 0.7143 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007587/2.449, allocations: 0.7045 MB / 0.715 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/2.449, allocations: 8 kB / 0.715 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/2.45, allocations: 402.2 kB / 0.7154 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/2.45, allocations: 95.48 kB / 0.7155 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/2.45, allocations: 11.89 kB / 0.7155 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/2.451, allocations: 12.67 kB / 0.7155 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/2.451, allocations: 30.19 kB / 0.7155 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/2.451, allocations: 8 kB / 0.7155 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001182/2.452, allocations: 0.8114 MB / 0.7163 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.452, allocations: 0 / 0.7163 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00409/2.456, allocations: 1.27 MB / 0.7176 GB, free: 4.754 MB / 0.5762 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.007632/2.464, allocations: 2.644 MB / 0.7201 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009633/2.465, allocations: 334.9 kB / 0.7205 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/2.465, allocations: 4 kB / 0.7205 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/2.465, allocations: 102.8 kB / 0.7206 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/2.466, allocations: 157.3 kB / 0.7207 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/2.476, allocations: 6.162 MB / 0.7267 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/2.477, allocations: 0.9284 MB / 0.7276 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000208/2.477, allocations: 58.77 kB / 0.7277 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/2.477, allocations: 235.3 kB / 0.7279 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of SimCode: time 7.72e-07/2.477, allocations: 0 / 0.7279 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/2.596, allocations: 54.81 MB / 0.7814 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/18.56, allocations: 1.094 kB / 0.7815 GB, free: 3.848 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.770973580889404] Failed to read output from testmodel.py, exit status != 0: 19.092639682115987 19.105451314 16.862940084 Calling exit ...