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.86/0.86, allocations: 153.8 MB / 170.9 MB, free: 13.75 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.0005028/0.0005028, allocations: 22.12 kB / 247 MB, free: 14.86 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06496/0.06547, allocations: 33.34 MB / 280.4 MB, free: 15.11 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.8/1.865, allocations: 307.5 MB / 0.574 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0607/1.926, allocations: 35.29 MB / 0.6085 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/1.926, allocations: 4 kB / 0.6085 GB, free: 6.938 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.0007228/1.927, allocations: 299.8 kB / 0.6088 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/1.927, allocations: 282.8 kB / 0.6091 GB, free: 6.367 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.02675/1.954, allocations: 9.997 MB / 0.6188 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008395/1.955, allocations: 0.4987 MB / 0.6193 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/1.955, allocations: 160.5 kB / 0.6195 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/1.955, allocations: 251.1 kB / 0.6197 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/1.956, allocations: 319 kB / 0.62 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/1.956, allocations: 24 kB / 0.62 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03434/1.99, allocations: 18.06 MB / 0.6377 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/1.991, allocations: 183.3 kB / 0.6378 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/1.991, allocations: 270.2 kB / 0.6381 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02304/2.014, allocations: 8.894 MB / 0.6468 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/2.014, allocations: 0 / 0.6468 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/2.014, allocations: 0 / 0.6468 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.12e-05/2.014, allocations: 0 / 0.6468 GB, free: 15.67 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.005414/2.019, allocations: 1.901 MB / 0.6486 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/2.019, allocations: 11.97 kB / 0.6487 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.147e-05/2.019, allocations: 8.562 kB / 0.6487 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/2.019, allocations: 78.52 kB / 0.6487 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/2.02, allocations: 75.48 kB / 0.6488 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/2.02, allocations: 494.8 kB / 0.6493 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/2.02, allocations: 16.56 kB / 0.6493 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/2.02, allocations: 27.94 kB / 0.6493 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/2.021, allocations: 437.3 kB / 0.6497 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/2.021, allocations: 0 / 0.6497 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/2.021, allocations: 12 kB / 0.6498 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/2.021, allocations: 12 kB / 0.6498 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/2.022, allocations: 345.7 kB / 0.6501 GB, free: 12.13 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.042/2.064, allocations: 18.69 MB / 0.6684 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/2.064, allocations: 146.6 kB / 0.6685 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/2.064, allocations: 80.83 kB / 0.6686 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3427/2.407, allocations: 83.06 MB / 0.7497 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/2.407, allocations: 31.59 kB / 0.7497 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/2.407, allocations: 3.938 kB / 0.7497 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001739/2.409, allocations: 0.5907 MB / 0.7503 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/2.409, allocations: 102.8 kB / 0.7504 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/2.41, allocations: 1.005 MB / 0.7514 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/2.41, allocations: 32.17 kB / 0.7514 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/2.41, allocations: 306.2 kB / 0.7517 GB, free: 192 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/2.41, allocations: 128.8 kB / 0.7518 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/2.41, allocations: 75.09 kB / 0.7519 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001001/2.41, allocations: 384.4 kB / 0.7523 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/2.41, allocations: 160.2 kB / 0.7524 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/2.411, allocations: 236.1 kB / 0.7526 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/2.411, allocations: 331 kB / 0.753 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/2.411, allocations: 4.562 kB / 0.753 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006274/2.412, allocations: 0.5293 MB / 0.7535 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/2.412, allocations: 8 kB / 0.7535 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/2.412, allocations: 0 / 0.7535 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/2.413, allocations: 227.6 kB / 0.7537 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/2.413, allocations: 24.91 kB / 0.7537 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/2.414, allocations: 0.6795 MB / 0.7544 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/2.414, allocations: 39.77 kB / 0.7544 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/2.414, allocations: 11.98 kB / 0.7544 GB, free: 190.3 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.0002167/2.414, allocations: 248.2 kB / 0.7547 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/2.414, allocations: 79.08 kB / 0.7547 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/2.415, allocations: 0.6754 MB / 0.7554 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002902/2.415, allocations: 236.6 kB / 0.7556 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.415, allocations: 1.188 kB / 0.7556 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/2.415, allocations: 0 / 0.7556 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/2.416, allocations: 0.98 MB / 0.7566 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/2.416, allocations: 0 / 0.7566 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/2.416, allocations: 22.61 kB / 0.7566 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/2.417, allocations: 181 kB / 0.7568 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/2.417, allocations: 3.938 kB / 0.7568 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004971/2.418, allocations: 0.7058 MB / 0.7575 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.418, allocations: 4.812 kB / 0.7575 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/2.418, allocations: 414 kB / 0.7579 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/2.418, allocations: 175.6 kB / 0.758 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/2.418, allocations: 12.45 kB / 0.7581 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/2.418, allocations: 12.98 kB / 0.7581 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/2.419, allocations: 11.98 kB / 0.7581 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/2.419, allocations: 8.375 kB / 0.7581 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006864/2.419, allocations: 0.8085 MB / 0.7589 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.419, allocations: 4 kB / 0.7589 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002971/2.422, allocations: 1.274 MB / 0.7601 GB, free: 185.2 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.005549/2.428, allocations: 2.651 MB / 0.7627 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007254/2.428, allocations: 335.5 kB / 0.763 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.428, allocations: 0 / 0.763 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/2.429, allocations: 98.33 kB / 0.7631 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.0008559/2.43, allocations: 148.2 kB / 0.7633 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/2.436, allocations: 6.142 MB / 0.7693 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/2.437, allocations: 0.9323 MB / 0.7702 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001527/2.437, allocations: 59.8 kB / 0.7702 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/2.437, allocations: 235.3 kB / 0.7705 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/2.437, allocations: 0 / 0.7705 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/2.513, allocations: 54.5 MB / 0.8237 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/17.87, allocations: 10.45 kB / 0.8237 GB, free: 121.2 MB / 0.5919 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: 20.173579837020952] Failed to read output from testmodel.py, exit status != 0: 18.22000841103727 18.230024474 16.21394463 Calling exit ...