Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.9355/0.9355, allocations: 153.8 MB / 170.2 MB, free: 13.77 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.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005554/0.0005554, allocations: 17.39 kB / 246.3 MB, free: 14.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07717/0.07773, allocations: 33.35 MB / 279.7 MB, free: 15.14 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.Fluid.Examples.SimpleExamples.TestBend): time 2.048/2.125, allocations: 307.5 MB / 0.5734 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.788/2.913, allocations: 194 MB / 0.7629 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/2.914, allocations: 12.59 kB / 0.7629 GB, free: 13.04 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004176/2.914, allocations: 206.1 kB / 0.7631 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/2.915, allocations: 283.1 kB / 0.7633 GB, free: 12.94 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04764/2.962, allocations: 12.53 MB / 0.7756 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00105/2.963, allocations: 0.5411 MB / 0.7761 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/2.964, allocations: 244 kB / 0.7763 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/2.964, allocations: 272.1 kB / 0.7766 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/2.965, allocations: 382.5 kB / 0.777 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/2.965, allocations: 40.56 kB / 0.777 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05463/3.019, allocations: 21.18 MB / 0.7977 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004158/3.02, allocations: 215.9 kB / 0.7979 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/3.02, allocations: 337.3 kB / 0.7982 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0449/3.065, allocations: 10.81 MB / 0.8088 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/3.065, allocations: 0 / 0.8088 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/3.065, allocations: 0 / 0.8088 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.068e-05/3.065, allocations: 4 kB / 0.8088 GB, free: 2.703 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.008118/3.073, allocations: 2.377 MB / 0.8111 GB, free: 272 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/3.073, allocations: 8.031 kB / 0.8111 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/3.073, allocations: 82.52 kB / 0.8112 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/3.074, allocations: 95.38 kB / 0.8113 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/3.075, allocations: 0.5688 MB / 0.8118 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/3.075, allocations: 29 kB / 0.8118 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/3.075, allocations: 36 kB / 0.8119 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/3.075, allocations: 499.4 kB / 0.8124 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/3.076, allocations: 0 / 0.8124 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/3.076, allocations: 16 kB / 0.8124 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/3.076, allocations: 15.94 kB / 0.8124 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/3.076, allocations: 422.3 kB / 0.8128 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/3.087, allocations: 6.706 MB / 0.8193 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/3.087, allocations: 114.6 kB / 0.8194 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/3.087, allocations: 44.83 kB / 0.8195 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3483/3.436, allocations: 165.9 MB / 0.9815 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/3.436, allocations: 38.55 kB / 0.9816 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 2.945e-06/3.436, allocations: 0 / 0.9816 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.002313/3.438, allocations: 479 kB / 0.982 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/3.438, allocations: 106.8 kB / 0.9821 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/3.44, allocations: 1.118 MB / 0.9832 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/3.44, allocations: 25.7 kB / 0.9832 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/3.44, allocations: 396.9 kB / 0.9836 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/3.44, allocations: 39.69 kB / 0.9837 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/3.44, allocations: 81.59 kB / 0.9837 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001977/3.441, allocations: 382.8 kB / 0.9841 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/3.441, allocations: 127.9 kB / 0.9842 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/3.441, allocations: 265.6 kB / 0.9845 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/3.442, allocations: 322.6 kB / 0.9848 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/3.442, allocations: 3.938 kB / 0.9848 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001488/3.443, allocations: 0.5581 MB / 0.9853 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/3.443, allocations: 8 kB / 0.9853 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/3.443, allocations: 11.98 kB / 0.9853 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/3.445, allocations: 193 kB / 0.9855 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/3.445, allocations: 47.92 kB / 0.9856 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006642/3.445, allocations: 0.6304 MB / 0.9862 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/3.446, allocations: 48.53 kB / 0.9862 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/3.446, allocations: 19.98 kB / 0.9863 GB, free: 8.598 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003587/3.446, allocations: 271.7 kB / 0.9865 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/3.446, allocations: 71.48 kB / 0.9866 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/3.447, allocations: 271.1 kB / 0.9868 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/3.447, allocations: 0 / 0.9868 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/3.447, allocations: 0 / 0.9868 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/3.447, allocations: 7.984 kB / 0.9869 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/3.449, allocations: 0.8542 MB / 0.9877 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/3.449, allocations: 0 / 0.9877 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/3.449, allocations: 9 kB / 0.9877 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/3.45, allocations: 165.4 kB / 0.9879 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/3.45, allocations: 0 / 0.9879 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006103/3.451, allocations: 0.6304 MB / 0.9885 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/3.451, allocations: 0 / 0.9885 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/3.452, allocations: 415 kB / 0.9889 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/3.452, allocations: 192.5 kB / 0.989 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/3.452, allocations: 5.625 kB / 0.9891 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/3.452, allocations: 11.98 kB / 0.9891 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/3.452, allocations: 7.938 kB / 0.9891 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/3.452, allocations: 7.922 kB / 0.9891 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001118/3.454, allocations: 0.8231 MB / 0.9899 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/3.454, allocations: 0 / 0.9899 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005517/3.459, allocations: 1.671 MB / 0.9915 GB, free: 3.066 MB / 0.8106 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 (3): * Single equations (assignments): 2 * 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.01173/3.471, allocations: 3.283 MB / 0.9947 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009356/3.472, allocations: 231.6 kB / 0.9949 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/3.472, allocations: 0 / 0.9949 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/3.472, allocations: 49.03 kB / 0.995 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/3.473, allocations: 100.3 kB / 0.9951 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/3.486, allocations: 6.42 MB / 1.001 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/3.486, allocations: 0.944 MB / 1.002 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002544/3.487, allocations: 77.19 kB / 1.002 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/3.487, allocations: 211.4 kB / 1.003 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.174e-06/3.487, allocations: 4 kB / 1.003 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/3.861, allocations: 60.8 MB / 1.062 GB, free: 413.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/19.51, allocations: 12.2 kB / 1.062 GB, free: 413.3 MB / 0.8262 GB " [Timeout remaining time 640] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.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_Fluid_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.673135953999008] Failed to read output from testmodel.py, exit status != 0: 19.870769724002457 19.885395837 16.81705283 Calling exit ...