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.583/0.583, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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 3.457e-06/3.457e-06, allocations: 0 / 216.7 MB, free: 8.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.57e-05, allocations: 3.531 kB / 216.7 MB, free: 8.633 MB / 202.7 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 1.141/1.141, allocations: 254.5 MB / 471.2 MB, free: 9.469 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.5559/1.697, allocations: 167.5 MB / 0.6237 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/1.697, allocations: 15.88 kB / 0.6238 GB, free: 11.48 MB / 0.5417 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.0003685/1.698, allocations: 203.2 kB / 0.6239 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0004676/1.698, allocations: 298.4 kB / 0.6242 GB, free: 10.99 MB / 0.5417 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.02941/1.727, allocations: 12.57 MB / 0.6365 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/1.728, allocations: 0.5572 MB / 0.6371 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/1.729, allocations: 245.2 kB / 0.6373 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/1.729, allocations: 367.1 kB / 0.6376 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/1.729, allocations: 323.3 kB / 0.6379 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/1.729, allocations: 40 kB / 0.638 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03286/1.762, allocations: 19.74 MB / 0.6573 GB, free: 9.113 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000401/1.762, allocations: 215.3 kB / 0.6575 GB, free: 8.902 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003377/1.763, allocations: 199.4 kB / 0.6577 GB, free: 8.707 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.03289/1.796, allocations: 13.42 MB / 0.6708 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.796, allocations: 0 / 0.6708 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.675e-06/1.796, allocations: 0 / 0.6708 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.796, allocations: 0 / 0.6708 GB, free: 11.25 MB / 0.5886 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.005759/1.801, allocations: 2.279 MB / 0.673 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/1.802, allocations: 12.03 kB / 0.673 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/1.802, allocations: 82.52 kB / 0.6731 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/1.802, allocations: 91.44 kB / 0.6732 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/1.802, allocations: 0.5104 MB / 0.6737 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/1.802, allocations: 29 kB / 0.6737 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/1.802, allocations: 40 kB / 0.6737 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/1.803, allocations: 0.5379 MB / 0.6743 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.803, allocations: 0 / 0.6743 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/1.803, allocations: 16 kB / 0.6743 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.803, allocations: 12 kB / 0.6743 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/1.803, allocations: 415 kB / 0.6747 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/1.808, allocations: 3.747 MB / 0.6783 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/1.809, allocations: 118.5 kB / 0.6785 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/1.809, allocations: 36.89 kB / 0.6785 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.15/1.959, allocations: 88.7 MB / 0.7651 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.959, allocations: 40.06 kB / 0.7651 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 3.957e-06/1.959, allocations: 0.75 kB / 0.7651 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001548/1.961, allocations: 403.6 kB / 0.7655 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/1.961, allocations: 110.8 kB / 0.7656 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.962, allocations: 1.126 MB / 0.7667 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/1.962, allocations: 29.7 kB / 0.7668 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.962, allocations: 387.8 kB / 0.7671 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/1.962, allocations: 43.62 kB / 0.7672 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/1.962, allocations: 77.59 kB / 0.7672 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.962, allocations: 387.3 kB / 0.7676 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.963, allocations: 131.8 kB / 0.7677 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.963, allocations: 309.4 kB / 0.768 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/1.963, allocations: 325.4 kB / 0.7683 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.963, allocations: 0 / 0.7683 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000928/1.964, allocations: 0.5595 MB / 0.7689 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.964, allocations: 16.69 kB / 0.7689 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.964, allocations: 9.234 kB / 0.7689 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008503/1.965, allocations: 192.6 kB / 0.7691 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.965, allocations: 53.59 kB / 0.7692 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/1.966, allocations: 0.6265 MB / 0.7698 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/1.966, allocations: 44.28 kB / 0.7698 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.966, allocations: 16 kB / 0.7698 GB, free: 5.281 MB / 0.6823 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.0003171/1.966, allocations: 273.6 kB / 0.7701 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/1.966, allocations: 75.52 kB / 0.7702 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/1.967, allocations: 265.5 kB / 0.7704 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.967, allocations: 0 / 0.7704 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.996e-06/1.967, allocations: 1.344 kB / 0.7704 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.967, allocations: 0 / 0.7704 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.968, allocations: 0.7959 MB / 0.7712 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.968, allocations: 0 / 0.7712 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/1.968, allocations: 4 kB / 0.7712 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/1.969, allocations: 154 kB / 0.7713 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.969, allocations: 8.031 kB / 0.7713 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/1.969, allocations: 0.6303 MB / 0.772 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.969, allocations: 4 kB / 0.772 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/1.97, allocations: 422.9 kB / 0.7724 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.97, allocations: 123.4 kB / 0.7725 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/1.97, allocations: 0 / 0.7725 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/1.97, allocations: 7.984 kB / 0.7725 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/1.97, allocations: 15.92 kB / 0.7725 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/1.97, allocations: 4 kB / 0.7725 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007078/1.971, allocations: 0.8116 MB / 0.7733 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/1.971, allocations: 4 kB / 0.7733 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.2474/2.218, allocations: 1.666 MB / 0.7749 GB, free: 320.2 MB / 0.6823 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.007183/2.225, allocations: 3.492 MB / 0.7783 GB, free: 319.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005147/2.226, allocations: 230 kB / 0.7786 GB, free: 319.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.226, allocations: 0.5625 kB / 0.7786 GB, free: 319.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/2.226, allocations: 50.98 kB / 0.7786 GB, free: 319.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/2.226, allocations: 96.23 kB / 0.7787 GB, free: 319.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/2.233, allocations: 6.406 MB / 0.785 GB, free: 316.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/2.233, allocations: 345.6 kB / 0.7853 GB, free: 316.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001335/2.233, allocations: 74.38 kB / 0.7854 GB, free: 316.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/2.233, allocations: 218.1 kB / 0.7856 GB, free: 316.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/2.233, allocations: 0 / 0.7856 GB, free: 316.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/2.308, allocations: 61.79 MB / 0.8459 GB, free: 256 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.366/11.67, allocations: 6.625 kB / 0.8459 GB, free: 256 MB / 0.6823 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 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: 13.267079377546906] Failed to read output from testmodel.py, exit status != 0: 12.08475572988391 11.95450924 10.157188188 Calling exit ...