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.8928/0.8928, allocations: 153.8 MB / 170.2 MB, free: 13.8 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.0005336/0.0005336, allocations: 19.06 kB / 246.3 MB, free: 14.92 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06718/0.06772, allocations: 33.35 MB / 279.7 MB, free: 15.12 MB / 238.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.681/1.749, allocations: 307.4 MB / 0.5733 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04299/1.792, allocations: 35.3 MB / 0.6078 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/1.792, allocations: 4 kB / 0.6078 GB, free: 6.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.0006227/1.792, allocations: 291.6 kB / 0.6081 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/1.793, allocations: 278.9 kB / 0.6084 GB, free: 6.352 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.0256/1.818, allocations: 10.01 MB / 0.6181 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000814/1.819, allocations: 0.4987 MB / 0.6186 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/1.819, allocations: 156.5 kB / 0.6188 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/1.82, allocations: 251.1 kB / 0.619 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/1.82, allocations: 319 kB / 0.6193 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/1.82, allocations: 24 kB / 0.6193 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03191/1.852, allocations: 18.07 MB / 0.637 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/1.852, allocations: 179.4 kB / 0.6372 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003365/1.853, allocations: 274.2 kB / 0.6374 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02184/1.875, allocations: 8.89 MB / 0.6461 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.875, allocations: 0 / 0.6461 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/1.875, allocations: 8 kB / 0.6461 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.978e-06/1.875, allocations: 0 / 0.6461 GB, free: 15.64 MB / 0.5294 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.005105/1.88, allocations: 1.898 MB / 0.648 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.88, allocations: 12.03 kB / 0.648 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/1.88, allocations: 66.53 kB / 0.648 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/1.88, allocations: 79.48 kB / 0.6481 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/1.881, allocations: 494.8 kB / 0.6486 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.881, allocations: 24.5 kB / 0.6486 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/1.881, allocations: 31.94 kB / 0.6486 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/1.881, allocations: 429.3 kB / 0.649 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.881, allocations: 0 / 0.649 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/1.881, allocations: 16 kB / 0.6491 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.881, allocations: 15.98 kB / 0.6491 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/1.882, allocations: 341.7 kB / 0.6494 GB, free: 12.12 MB / 0.5294 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.03952/1.921, allocations: 18.69 MB / 0.6677 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/1.922, allocations: 158.5 kB / 0.6678 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.922, allocations: 80.83 kB / 0.6679 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3401/2.262, allocations: 83.06 MB / 0.749 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/2.262, allocations: 38.36 kB / 0.749 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.264e-06/2.262, allocations: 0 / 0.749 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001662/2.264, allocations: 0.5909 MB / 0.7496 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/2.264, allocations: 102.8 kB / 0.7497 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/2.265, allocations: 1.002 MB / 0.7507 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/2.265, allocations: 32.05 kB / 0.7507 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/2.265, allocations: 304.2 kB / 0.751 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/2.265, allocations: 134.7 kB / 0.7511 GB, free: 192 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/2.265, allocations: 66.27 kB / 0.7512 GB, free: 192 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/2.265, allocations: 390.1 kB / 0.7516 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/2.265, allocations: 154 kB / 0.7517 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/2.266, allocations: 235.7 kB / 0.7519 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/2.266, allocations: 334 kB / 0.7523 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.266, allocations: 2.844 kB / 0.7523 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005961/2.267, allocations: 0.5341 MB / 0.7528 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/2.267, allocations: 8 kB / 0.7528 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.267, allocations: 0 / 0.7528 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/2.268, allocations: 222.7 kB / 0.753 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/2.268, allocations: 27.45 kB / 0.753 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/2.269, allocations: 0.6754 MB / 0.7537 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/2.269, allocations: 43.34 kB / 0.7537 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/2.269, allocations: 8.562 kB / 0.7537 GB, free: 190.4 MB / 0.5919 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.0001973/2.269, allocations: 253 kB / 0.754 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/2.269, allocations: 67.47 kB / 0.754 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/2.27, allocations: 0.6826 MB / 0.7547 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002849/2.27, allocations: 237.5 kB / 0.7549 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/2.27, allocations: 4 kB / 0.7549 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/2.27, allocations: 1.125 kB / 0.7549 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/2.271, allocations: 0.9759 MB / 0.7559 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.271, allocations: 4.031 kB / 0.7559 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/2.271, allocations: 12 kB / 0.7559 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007963/2.272, allocations: 176.4 kB / 0.7561 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/2.272, allocations: 15.25 kB / 0.7561 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004702/2.272, allocations: 0.6983 MB / 0.7568 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.272, allocations: 0 / 0.7568 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/2.273, allocations: 417.7 kB / 0.7572 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/2.273, allocations: 176.6 kB / 0.7573 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/2.273, allocations: 12.45 kB / 0.7574 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/2.273, allocations: 12.42 kB / 0.7574 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/2.273, allocations: 7.984 kB / 0.7574 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/2.273, allocations: 7.938 kB / 0.7574 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006706/2.274, allocations: 0.8121 MB / 0.7582 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.274, allocations: 4 kB / 0.7582 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002981/2.277, allocations: 1.275 MB / 0.7594 GB, free: 185.3 MB / 0.5919 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.005006/2.282, allocations: 2.655 MB / 0.762 GB, free: 183 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006771/2.282, allocations: 331.4 kB / 0.7623 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.283, allocations: 4 kB / 0.7623 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/2.283, allocations: 104.1 kB / 0.7624 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/2.284, allocations: 147.1 kB / 0.7626 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/2.29, allocations: 6.144 MB / 0.7686 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/2.29, allocations: 0.9284 MB / 0.7695 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000146/2.29, allocations: 60.59 kB / 0.7695 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/2.291, allocations: 227.4 kB / 0.7698 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/2.291, allocations: 4 kB / 0.7698 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07867/2.369, allocations: 54.47 MB / 0.8229 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/16.63, allocations: 8.141 kB / 0.823 GB, free: 121.3 MB / 0.5919 GB " [Timeout remaining time 643] (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: 18.66443828699994] Failed to read output from testmodel.py, exit status != 0: 16.91027205499995 16.919615959 15.042844513 Calling exit ...