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.8496/0.8496, allocations: 153.9 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.0005297/0.0005297, allocations: 11.98 kB / 249.8 MB, free: 4.453 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1863, allocations: 33.36 MB / 283.2 MB, free: 1.805 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.897/2.083, allocations: 307.6 MB / 0.577 GB, free: 16.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03583/2.119, allocations: 35.35 MB / 0.6115 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/2.119, allocations: 3.75 kB / 0.6115 GB, free: 13.83 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.000682/2.12, allocations: 294.5 kB / 0.6118 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004617/2.12, allocations: 285 kB / 0.6121 GB, free: 13.65 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.02838/2.149, allocations: 10.07 MB / 0.6219 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/2.15, allocations: 0.491 MB / 0.6224 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/2.15, allocations: 164.6 kB / 0.6225 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/2.151, allocations: 251.1 kB / 0.6228 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/2.151, allocations: 323 kB / 0.6231 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/2.151, allocations: 24 kB / 0.6231 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03639/2.187, allocations: 18.09 MB / 0.6408 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/2.188, allocations: 171.4 kB / 0.6409 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/2.188, allocations: 274.2 kB / 0.6412 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/2.212, allocations: 8.894 MB / 0.6499 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/2.213, allocations: 4 kB / 0.6499 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/2.213, allocations: 0 / 0.6499 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.239e-05/2.213, allocations: 0.9375 kB / 0.6499 GB, free: 10.66 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.005561/2.218, allocations: 1.822 MB / 0.6517 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/2.218, allocations: 12.02 kB / 0.6517 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.342e-05/2.218, allocations: 72.16 kB / 0.6518 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/2.218, allocations: 75.47 kB / 0.6518 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/2.219, allocations: 444.9 kB / 0.6522 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/2.219, allocations: 22.09 kB / 0.6523 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/2.219, allocations: 24 kB / 0.6523 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/2.22, allocations: 428.9 kB / 0.6527 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/2.22, allocations: 8.875 kB / 0.6527 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/2.22, allocations: 12 kB / 0.6527 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/2.22, allocations: 15.98 kB / 0.6527 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/2.22, allocations: 349.7 kB / 0.6531 GB, free: 7.305 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.03699/2.257, allocations: 11.81 MB / 0.6646 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/2.258, allocations: 156.3 kB / 0.6648 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/2.258, allocations: 84.83 kB / 0.6648 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1473/2.405, allocations: 43.45 MB / 0.7073 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/2.405, allocations: 38.44 kB / 0.7073 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/2.405, allocations: 0 / 0.7073 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002008/2.407, allocations: 0.5154 MB / 0.7078 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/2.408, allocations: 106.8 kB / 0.7079 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/2.409, allocations: 1.004 MB / 0.7089 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/2.409, allocations: 33.7 kB / 0.7089 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/2.409, allocations: 308.4 kB / 0.7092 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/2.41, allocations: 126.9 kB / 0.7093 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/2.41, allocations: 73.61 kB / 0.7094 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002239/2.41, allocations: 378.8 kB / 0.7098 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/2.41, allocations: 156.4 kB / 0.7099 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/2.41, allocations: 241.2 kB / 0.7101 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/2.411, allocations: 348 kB / 0.7105 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.411, allocations: 0 / 0.7105 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008535/2.412, allocations: 0.5346 MB / 0.711 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/2.412, allocations: 8 kB / 0.711 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/2.412, allocations: 0.8438 kB / 0.711 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/2.413, allocations: 222.3 kB / 0.7112 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/2.414, allocations: 31.98 kB / 0.7112 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007356/2.414, allocations: 0.6673 MB / 0.7119 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/2.415, allocations: 43.62 kB / 0.7119 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/2.415, allocations: 11.98 kB / 0.7119 GB, free: 10.62 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.0003158/2.415, allocations: 259.2 kB / 0.7122 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/2.415, allocations: 63.58 kB / 0.7123 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008952/2.416, allocations: 0.6861 MB / 0.7129 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003811/2.416, allocations: 254.9 kB / 0.7132 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/2.416, allocations: 0 / 0.7132 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/2.416, allocations: 5.062 kB / 0.7132 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/2.418, allocations: 0.9427 MB / 0.7141 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/2.418, allocations: 1 kB / 0.7141 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/2.418, allocations: 16 kB / 0.7141 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009123/2.419, allocations: 186.4 kB / 0.7143 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/2.419, allocations: 3.984 kB / 0.7143 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/2.419, allocations: 0.6991 MB / 0.715 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.419, allocations: 3.938 kB / 0.715 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/2.42, allocations: 419.3 kB / 0.7154 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/2.42, allocations: 91.48 kB / 0.7155 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/2.42, allocations: 16.64 kB / 0.7155 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/2.42, allocations: 11.98 kB / 0.7155 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/2.421, allocations: 19.91 kB / 0.7155 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/2.421, allocations: 4 kB / 0.7155 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001051/2.422, allocations: 0.8114 MB / 0.7163 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.422, allocations: 0 / 0.7163 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003702/2.425, allocations: 1.281 MB / 0.7176 GB, free: 4.695 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.007052/2.432, allocations: 2.644 MB / 0.7201 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009624/2.433, allocations: 334.6 kB / 0.7205 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/2.433, allocations: 4.438 kB / 0.7205 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/2.434, allocations: 110.8 kB / 0.7206 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/2.435, allocations: 156.6 kB / 0.7207 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/2.445, allocations: 6.155 MB / 0.7267 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/2.446, allocations: 0.9323 MB / 0.7276 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002427/2.446, allocations: 52.66 kB / 0.7277 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/2.446, allocations: 239.3 kB / 0.7279 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.953e-06/2.446, allocations: 0 / 0.7279 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/2.556, allocations: 54.81 MB / 0.7814 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/18.4, allocations: 3.375 kB / 0.7814 GB, free: 3.785 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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.58146009999996] Failed to read output from testmodel.py, exit status != 0: 18.950830356000097 18.966367634 16.750579732 Calling exit ...