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.8069/0.8069, allocations: 153.8 MB / 173.5 MB, free: 4.914 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.0004898/0.0004898, allocations: 15.97 kB / 250.6 MB, free: 4.414 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 33.35 MB / 284 MB, free: 1.793 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.73/1.901, allocations: 307.5 MB / 0.5776 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03295/1.934, allocations: 35.34 MB / 0.6121 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/1.934, allocations: 2.688 kB / 0.6121 GB, free: 13.76 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.0007155/1.935, allocations: 298.7 kB / 0.6124 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/1.935, allocations: 283 kB / 0.6127 GB, free: 13.58 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.02716/1.962, allocations: 10.08 MB / 0.6225 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009324/1.963, allocations: 498.8 kB / 0.623 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/1.963, allocations: 162 kB / 0.6231 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/1.964, allocations: 255.1 kB / 0.6234 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/1.964, allocations: 315.1 kB / 0.6237 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/1.964, allocations: 28 kB / 0.6237 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03354/1.998, allocations: 18.08 MB / 0.6414 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/1.998, allocations: 179.4 kB / 0.6415 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/1.998, allocations: 270.3 kB / 0.6418 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/2.02, allocations: 8.902 MB / 0.6505 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/2.02, allocations: 0 / 0.6505 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/2.02, allocations: 3.938 kB / 0.6505 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.386e-05/2.02, allocations: 0 / 0.6505 GB, free: 10.71 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.005269/2.025, allocations: 1.826 MB / 0.6523 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/2.025, allocations: 8.031 kB / 0.6523 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.569e-05/2.025, allocations: 8.5 kB / 0.6523 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/2.025, allocations: 66.53 kB / 0.6524 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/2.026, allocations: 80.41 kB / 0.6524 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/2.026, allocations: 434.1 kB / 0.6528 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/2.026, allocations: 21.81 kB / 0.6529 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/2.026, allocations: 24 kB / 0.6529 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/2.027, allocations: 436.9 kB / 0.6533 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/2.027, allocations: 0 / 0.6533 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/2.027, allocations: 15.94 kB / 0.6533 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/2.027, allocations: 23.92 kB / 0.6533 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/2.027, allocations: 341.7 kB / 0.6537 GB, free: 7.352 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.0362/2.064, allocations: 11.82 MB / 0.6652 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/2.064, allocations: 158.5 kB / 0.6654 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/2.064, allocations: 80.83 kB / 0.6654 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1429/2.207, allocations: 43.44 MB / 0.7079 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/2.207, allocations: 42.5 kB / 0.7079 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 3.477e-06/2.207, allocations: 1.641 kB / 0.7079 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001826/2.209, allocations: 0.5222 MB / 0.7084 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/2.209, allocations: 102.8 kB / 0.7085 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/2.211, allocations: 1.008 MB / 0.7095 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/2.211, allocations: 26.73 kB / 0.7095 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/2.211, allocations: 308.5 kB / 0.7098 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.211, allocations: 130.8 kB / 0.7099 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/2.211, allocations: 61.69 kB / 0.71 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001905/2.211, allocations: 382.8 kB / 0.7104 GB, free: 13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/2.212, allocations: 160.4 kB / 0.7105 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/2.212, allocations: 235.1 kB / 0.7107 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/2.212, allocations: 345 kB / 0.7111 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.212, allocations: 4 kB / 0.7111 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008235/2.213, allocations: 0.5433 MB / 0.7116 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/2.213, allocations: 4.75 kB / 0.7116 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.213, allocations: 4 kB / 0.7116 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/2.215, allocations: 222 kB / 0.7118 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/2.215, allocations: 23.92 kB / 0.7118 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/2.216, allocations: 0.6695 MB / 0.7125 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/2.216, allocations: 51.64 kB / 0.7126 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/2.216, allocations: 17.42 kB / 0.7126 GB, free: 10.66 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.0002774/2.216, allocations: 245.7 kB / 0.7128 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/2.216, allocations: 68.58 kB / 0.7129 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/2.217, allocations: 0.6916 MB / 0.7135 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003662/2.217, allocations: 242.9 kB / 0.7138 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/2.217, allocations: 0 / 0.7138 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/2.217, allocations: 3.938 kB / 0.7138 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/2.219, allocations: 0.9474 MB / 0.7147 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/2.219, allocations: 0 / 0.7147 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/2.219, allocations: 23.92 kB / 0.7147 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/2.22, allocations: 174.9 kB / 0.7149 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/2.22, allocations: 12 kB / 0.7149 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006538/2.22, allocations: 0.7059 MB / 0.7156 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/2.22, allocations: 4.031 kB / 0.7156 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/2.221, allocations: 403 kB / 0.716 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/2.221, allocations: 103.5 kB / 0.7161 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/2.221, allocations: 13.2 kB / 0.7161 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/2.221, allocations: 7.938 kB / 0.7161 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/2.221, allocations: 19.91 kB / 0.7161 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/2.221, allocations: 4 kB / 0.7161 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009892/2.222, allocations: 0.8114 MB / 0.7169 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.222, allocations: 0 / 0.7169 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003219/2.226, allocations: 1.278 MB / 0.7182 GB, free: 4.738 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.00672/2.232, allocations: 2.649 MB / 0.7208 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008011/2.233, allocations: 332.7 kB / 0.7211 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.233, allocations: 0 / 0.7211 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/2.233, allocations: 109.1 kB / 0.7212 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/2.234, allocations: 149.6 kB / 0.7213 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/2.244, allocations: 6.164 MB / 0.7273 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/2.244, allocations: 0.9333 MB / 0.7282 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001844/2.244, allocations: 59.67 kB / 0.7283 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/2.245, allocations: 228.6 kB / 0.7285 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/2.245, allocations: 0 / 0.7285 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09825/2.343, allocations: 54.84 MB / 0.7821 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/17.7, allocations: 16.09 kB / 0.7821 GB, free: 3.789 MB / 0.6387 GB " [Timeout remaining time 642] (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: 19.99245174007956] Failed to read output from testmodel.py, exit status != 0: 18.2314708159538 18.243131941 16.220703653 Calling exit ...