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.8504/0.8504, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0005296/0.0005296, allocations: 11.97 kB / 249.8 MB, free: 4.383 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 33.35 MB / 283.2 MB, free: 1.734 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.904/2.116, allocations: 307.7 MB / 0.577 GB, free: 17.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03656/2.152, allocations: 31.1 MB / 0.6074 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/2.153, allocations: 2.312 kB / 0.6074 GB, free: 2.418 MB / 478.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.0007158/2.154, allocations: 273.2 kB / 0.6076 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/2.154, allocations: 280.6 kB / 0.6079 GB, free: 2.258 MB / 478.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.0287/2.183, allocations: 9.938 MB / 0.6176 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009524/2.184, allocations: 0.491 MB / 0.6181 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/2.184, allocations: 170.4 kB / 0.6182 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/2.184, allocations: 252 kB / 0.6185 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/2.185, allocations: 311 kB / 0.6188 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/2.185, allocations: 24 kB / 0.6188 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03674/2.221, allocations: 16.91 MB / 0.6353 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/2.222, allocations: 171.4 kB / 0.6355 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/2.222, allocations: 206.7 kB / 0.6357 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02353/2.246, allocations: 8.907 MB / 0.6444 GB, free: 324 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/2.246, allocations: 3.984 kB / 0.6444 GB, free: 320 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/2.246, allocations: 0 / 0.6444 GB, free: 320 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.859e-05/2.246, allocations: 0 / 0.6444 GB, free: 320 kB / 0.4981 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.00528/2.251, allocations: 1.807 MB / 0.6461 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/2.251, allocations: 15.97 kB / 0.6461 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/2.251, allocations: 70.53 kB / 0.6462 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/2.251, allocations: 75.47 kB / 0.6463 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/2.252, allocations: 438.1 kB / 0.6467 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/2.252, allocations: 22 kB / 0.6467 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/2.252, allocations: 24 kB / 0.6467 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/2.253, allocations: 484.2 kB / 0.6472 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/2.253, allocations: 0 / 0.6472 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/2.253, allocations: 15.98 kB / 0.6472 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/2.253, allocations: 12.7 kB / 0.6472 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/2.253, allocations: 357.6 kB / 0.6476 GB, free: 12.91 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.03723/2.29, allocations: 11.43 MB / 0.6587 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/2.291, allocations: 143.5 kB / 0.6589 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/2.291, allocations: 84.83 kB / 0.659 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1513/2.442, allocations: 43.61 MB / 0.7016 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/2.442, allocations: 44.12 kB / 0.7016 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.244e-06/2.442, allocations: 0 / 0.7016 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001846/2.444, allocations: 0.5098 MB / 0.7021 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/2.444, allocations: 110.8 kB / 0.7022 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/2.446, allocations: 1.012 MB / 0.7032 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/2.446, allocations: 29.7 kB / 0.7032 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/2.446, allocations: 308.5 kB / 0.7035 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/2.446, allocations: 131.5 kB / 0.7036 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/2.446, allocations: 65.64 kB / 0.7037 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00021/2.446, allocations: 378.8 kB / 0.7041 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/2.447, allocations: 156.4 kB / 0.7042 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/2.447, allocations: 294.5 kB / 0.7045 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/2.447, allocations: 348 kB / 0.7048 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/2.447, allocations: 0.75 kB / 0.7048 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000758/2.448, allocations: 0.5346 MB / 0.7053 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.448, allocations: 8 kB / 0.7053 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.448, allocations: 0 / 0.7053 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/2.45, allocations: 222.5 kB / 0.7056 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/2.45, allocations: 27.92 kB / 0.7056 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007338/2.45, allocations: 0.6733 MB / 0.7062 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/2.451, allocations: 43.7 kB / 0.7063 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/2.451, allocations: 12.83 kB / 0.7063 GB, free: 480 kB / 0.5606 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.0002949/2.451, allocations: 250.7 kB / 0.7065 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.451, allocations: 71.59 kB / 0.7066 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/2.452, allocations: 0.6953 MB / 0.7073 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003824/2.452, allocations: 243 kB / 0.7075 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.452, allocations: 0 / 0.7075 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/2.452, allocations: 3.938 kB / 0.7075 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/2.454, allocations: 0.8892 MB / 0.7084 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/2.454, allocations: 0 / 0.7084 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/2.454, allocations: 22.09 kB / 0.7084 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008742/2.455, allocations: 174.7 kB / 0.7086 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/2.455, allocations: 3.984 kB / 0.7086 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006693/2.455, allocations: 0.7045 MB / 0.7093 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.455, allocations: 8 kB / 0.7093 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/2.456, allocations: 411.8 kB / 0.7097 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/2.456, allocations: 96.36 kB / 0.7098 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/2.456, allocations: 15.89 kB / 0.7098 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/2.456, allocations: 15.92 kB / 0.7098 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/2.456, allocations: 15.91 kB / 0.7098 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/2.456, allocations: 4 kB / 0.7098 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009884/2.457, allocations: 0.8075 MB / 0.7106 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/2.457, allocations: 0 / 0.7106 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003646/2.461, allocations: 1.286 MB / 0.7119 GB, free: 10.59 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.006686/2.468, allocations: 2.626 MB / 0.7144 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008747/2.469, allocations: 338.9 kB / 0.7147 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/2.469, allocations: 4 kB / 0.7147 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/2.469, allocations: 106.1 kB / 0.7148 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/2.47, allocations: 159 kB / 0.715 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/2.479, allocations: 6.147 MB / 0.721 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/2.48, allocations: 340.1 kB / 0.7213 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001977/2.48, allocations: 58.41 kB / 0.7214 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/2.48, allocations: 235.3 kB / 0.7216 GB, free: 456 kB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/2.48, allocations: 0 / 0.7216 GB, free: 456 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/2.59, allocations: 55.09 MB / 0.7754 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/18.18, allocations: 9.891 kB / 0.7754 GB, free: 10.1 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.469882659614086] Failed to read output from testmodel.py, exit status != 0: 18.73665896989405 18.750800645 16.501956104 Calling exit ...