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.8609/0.8609, allocations: 153.8 MB / 173.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 7.984 kB / 250.6 MB, free: 4.383 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1913, allocations: 33.36 MB / 283.9 MB, free: 1.73 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.922/2.114, allocations: 307.3 MB / 0.5774 GB, free: 17.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0349/2.148, allocations: 31.08 MB / 0.6077 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/2.149, allocations: 2.812 kB / 0.6077 GB, free: 2.441 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.0006686/2.15, allocations: 271.3 kB / 0.608 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/2.15, allocations: 282 kB / 0.6083 GB, free: 2.281 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.02833/2.178, allocations: 9.931 MB / 0.618 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009837/2.179, allocations: 0.4986 MB / 0.6184 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/2.18, allocations: 166.4 kB / 0.6186 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/2.18, allocations: 255.1 kB / 0.6188 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/2.18, allocations: 315.1 kB / 0.6191 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/2.18, allocations: 31.98 kB / 0.6192 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03711/2.218, allocations: 17.8 MB / 0.6366 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/2.218, allocations: 179.4 kB / 0.6367 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/2.218, allocations: 202.6 kB / 0.6369 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02317/2.241, allocations: 8.914 MB / 0.6456 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/2.241, allocations: 4 kB / 0.6456 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/2.241, allocations: 0 / 0.6456 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.111e-05/2.241, allocations: 0 / 0.6456 GB, free: 15.44 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.005/2.246, allocations: 1.81 MB / 0.6474 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/2.246, allocations: 8.031 kB / 0.6474 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.751e-05/2.246, allocations: 8.5 kB / 0.6474 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/2.246, allocations: 71.89 kB / 0.6475 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/2.247, allocations: 79.47 kB / 0.6476 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/2.247, allocations: 434 kB / 0.648 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/2.247, allocations: 24.44 kB / 0.648 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/2.247, allocations: 24.66 kB / 0.648 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/2.248, allocations: 488.2 kB / 0.6485 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/2.248, allocations: 4 kB / 0.6485 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/2.248, allocations: 8 kB / 0.6485 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/2.248, allocations: 20.44 kB / 0.6485 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/2.248, allocations: 349.7 kB / 0.6489 GB, free: 12.03 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.03573/2.284, allocations: 11.43 MB / 0.66 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/2.285, allocations: 154.6 kB / 0.6602 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/2.285, allocations: 85.77 kB / 0.6602 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1428/2.428, allocations: 43.61 MB / 0.7028 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/2.428, allocations: 35.62 kB / 0.7029 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/2.428, allocations: 0 / 0.7029 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001921/2.43, allocations: 0.5215 MB / 0.7034 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/2.43, allocations: 106.8 kB / 0.7035 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/2.431, allocations: 1.004 MB / 0.7045 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/2.431, allocations: 33.7 kB / 0.7045 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/2.431, allocations: 304.5 kB / 0.7048 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/2.432, allocations: 134.8 kB / 0.7049 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/2.432, allocations: 58.62 kB / 0.705 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001922/2.432, allocations: 382.8 kB / 0.7053 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/2.432, allocations: 160.4 kB / 0.7055 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/2.432, allocations: 290.5 kB / 0.7058 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/2.433, allocations: 343.9 kB / 0.7061 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/2.433, allocations: 0 / 0.7061 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008501/2.434, allocations: 0.5448 MB / 0.7066 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/2.434, allocations: 8 kB / 0.7066 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/2.434, allocations: 0 / 0.7066 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/2.435, allocations: 229.4 kB / 0.7068 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/2.436, allocations: 19.94 kB / 0.7069 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/2.436, allocations: 0.6726 MB / 0.7075 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/2.437, allocations: 51.64 kB / 0.7076 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/2.437, allocations: 13.19 kB / 0.7076 GB, free: 15.59 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.000382/2.437, allocations: 249.7 kB / 0.7078 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/2.437, allocations: 63.58 kB / 0.7079 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/2.438, allocations: 0.6866 MB / 0.7085 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004041/2.439, allocations: 246.9 kB / 0.7088 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/2.439, allocations: 0.8125 kB / 0.7088 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/2.439, allocations: 11.98 kB / 0.7088 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/2.44, allocations: 0.8773 MB / 0.7097 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/2.44, allocations: 0.5625 kB / 0.7097 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/2.44, allocations: 23.92 kB / 0.7097 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009585/2.441, allocations: 172.7 kB / 0.7098 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/2.441, allocations: 4.625 kB / 0.7098 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007505/2.442, allocations: 0.7175 MB / 0.7105 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.442, allocations: 0 / 0.7105 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/2.443, allocations: 398.2 kB / 0.7109 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/2.443, allocations: 103.5 kB / 0.711 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/2.443, allocations: 23.34 kB / 0.711 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/2.443, allocations: 7.938 kB / 0.7111 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/2.443, allocations: 15.97 kB / 0.7111 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/2.443, allocations: 4 kB / 0.7111 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0011/2.444, allocations: 0.8114 MB / 0.7119 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.444, allocations: 0.6562 kB / 0.7119 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003775/2.448, allocations: 1.278 MB / 0.7131 GB, free: 9.727 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.007771/2.456, allocations: 2.647 MB / 0.7157 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009366/2.457, allocations: 332.3 kB / 0.716 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/2.457, allocations: 0 / 0.716 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/2.457, allocations: 101.3 kB / 0.7161 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/2.458, allocations: 161.3 kB / 0.7163 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009962/2.468, allocations: 6.148 MB / 0.7223 GB, free: 216 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/2.469, allocations: 341.2 kB / 0.7226 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002052/2.469, allocations: 64.78 kB / 0.7227 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/2.469, allocations: 227.4 kB / 0.7229 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/2.469, allocations: 0 / 0.7229 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/2.573, allocations: 54.81 MB / 0.7764 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/18.57, allocations: 9.391 kB / 0.7764 GB, free: 9.559 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.77896480599884] Failed to read output from testmodel.py, exit status != 0: 19.131677384022623 19.144061188 16.899837925 Calling exit ...