Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.8219/0.8219, allocations: 153.9 MB / 172.7 MB, free: 4.945 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.TestPipePressureLoss,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005247, allocations: 15.97 kB / 249.8 MB, free: 4.445 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 33.36 MB / 283.2 MB, free: 1.82 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.TestPipePressureLoss): time 1.838/2.009, allocations: 307.5 MB / 0.5769 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03272/2.042, allocations: 34.7 MB / 0.6108 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/2.042, allocations: 2.375 kB / 0.6108 GB, free: 14.36 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/PipePressureLoss.mo:35:3-37: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/PipePressureLoss.mo:38:3-40:37: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.0005468/2.043, allocations: 131.8 kB / 0.6109 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/2.043, allocations: 115.1 kB / 0.611 GB, free: 14.22 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.02827/2.071, allocations: 9.828 MB / 0.6206 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/2.072, allocations: 343.1 kB / 0.6209 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/2.072, allocations: 90.27 kB / 0.621 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/2.072, allocations: 161.3 kB / 0.6212 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/2.073, allocations: 107.4 kB / 0.6213 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/2.073, allocations: 20 kB / 0.6213 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03542/2.108, allocations: 17.92 MB / 0.6388 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/2.108, allocations: 47.78 kB / 0.6388 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/2.108, allocations: 135.3 kB / 0.639 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/2.13, allocations: 8.439 MB / 0.6472 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/2.13, allocations: 0 / 0.6472 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.817e-06/2.13, allocations: 7.984 kB / 0.6472 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.945e-06/2.13, allocations: 0 / 0.6472 GB, free: 13.48 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004203/2.134, allocations: 1.421 MB / 0.6486 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/2.134, allocations: 8.031 kB / 0.6486 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/2.134, allocations: 62.53 kB / 0.6487 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/2.135, allocations: 32.66 kB / 0.6487 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/2.135, allocations: 176.7 kB / 0.6489 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/2.135, allocations: 12.44 kB / 0.6489 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/2.135, allocations: 24 kB / 0.6489 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/2.135, allocations: 295.4 kB / 0.6492 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/2.135, allocations: 0 / 0.6492 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/2.135, allocations: 12 kB / 0.6492 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/2.135, allocations: 18.7 kB / 0.6492 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/2.136, allocations: 169.2 kB / 0.6494 GB, free: 11.18 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.03531/2.171, allocations: 11.24 MB / 0.6603 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/2.171, allocations: 106.7 kB / 0.6604 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/2.171, allocations: 72.83 kB / 0.6605 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1414/2.313, allocations: 43.41 MB / 0.7029 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/2.313, allocations: 35.48 kB / 0.7029 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/2.313, allocations: 0 / 0.7029 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001086/2.314, allocations: 368.4 kB / 0.7033 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/2.314, allocations: 52.34 kB / 0.7033 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/2.314, allocations: 224.9 kB / 0.7036 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/2.314, allocations: 29.7 kB / 0.7036 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/2.314, allocations: 148.8 kB / 0.7037 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/2.314, allocations: 115 kB / 0.7038 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/2.315, allocations: 45.66 kB / 0.7039 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/2.315, allocations: 342.8 kB / 0.7042 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/2.315, allocations: 75.91 kB / 0.7043 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/2.315, allocations: 128.2 kB / 0.7044 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/2.315, allocations: 205.8 kB / 0.7046 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/2.315, allocations: 0.8438 kB / 0.7046 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000498/2.316, allocations: 301.5 kB / 0.7049 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/2.316, allocations: 13.19 kB / 0.7049 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/2.316, allocations: 0 / 0.7049 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009032/2.317, allocations: 166.4 kB / 0.7051 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/2.317, allocations: 8.938 kB / 0.7051 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006339/2.317, allocations: 0.6337 MB / 0.7057 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/2.318, allocations: 27.77 kB / 0.7057 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/2.318, allocations: 7.984 kB / 0.7057 GB, free: 1.121 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/2.318, allocations: 139.5 kB / 0.7059 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/2.318, allocations: 23.8 kB / 0.7059 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/2.319, allocations: 0.5845 MB / 0.7064 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003763/2.319, allocations: 211.2 kB / 0.7066 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/2.319, allocations: 0 / 0.7066 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/2.319, allocations: 11.92 kB / 0.7067 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/2.32, allocations: 0.6947 MB / 0.7073 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/2.32, allocations: 0.9375 kB / 0.7073 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/2.32, allocations: 19.94 kB / 0.7074 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/2.321, allocations: 116.7 kB / 0.7075 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/2.321, allocations: 0 / 0.7075 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005768/2.321, allocations: 0.6598 MB / 0.7081 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.321, allocations: 0 / 0.7081 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/2.322, allocations: 343.3 kB / 0.7084 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/2.322, allocations: 43.72 kB / 0.7085 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/2.322, allocations: 7.891 kB / 0.7085 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/2.322, allocations: 8 kB / 0.7085 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/2.322, allocations: 7.984 kB / 0.7085 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/2.322, allocations: 0 / 0.7085 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002753/2.322, allocations: 240.1 kB / 0.7087 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.322, allocations: 0 / 0.7087 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003424/2.326, allocations: 1.204 MB / 0.7099 GB, free: 12.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007244/2.333, allocations: 2.52 MB / 0.7124 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006899/2.334, allocations: 217.5 kB / 0.7126 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.334, allocations: 3.938 kB / 0.7126 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/2.334, allocations: 73.36 kB / 0.7127 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/2.335, allocations: 122.3 kB / 0.7128 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/2.34, allocations: 3.06 MB / 0.7158 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/2.341, allocations: 0.7675 MB / 0.7165 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001348/2.341, allocations: 23.73 kB / 0.7165 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/2.341, allocations: 87.41 kB / 0.7166 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/2.341, allocations: 0 / 0.7166 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/2.441, allocations: 48.13 MB / 0.7636 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/17.28, allocations: 7.453 kB / 0.7636 GB, free: 6.152 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.404545906931162] Failed to read output from testmodel.py, exit status != 0: 17.833724797004834 17.844765838 15.712097854 Calling exit ...