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.8212/0.8212, 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.000497/0.000497, allocations: 15.97 kB / 249.9 MB, free: 4.449 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 33.35 MB / 283.2 MB, free: 1.812 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.785/1.961, allocations: 307.5 MB / 0.5769 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03313/1.994, allocations: 34.7 MB / 0.6108 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/1.994, allocations: 2.594 kB / 0.6108 GB, free: 14.35 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.0004275/1.994, allocations: 132.2 kB / 0.6109 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/1.995, allocations: 115.2 kB / 0.611 GB, free: 14.21 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.02741/2.022, allocations: 9.828 MB / 0.6206 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/2.023, allocations: 339.1 kB / 0.6209 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/2.023, allocations: 96.62 kB / 0.621 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/2.023, allocations: 159.3 kB / 0.6212 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/2.023, allocations: 103.5 kB / 0.6213 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/2.023, allocations: 20 kB / 0.6213 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03646/2.06, allocations: 17.92 MB / 0.6388 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/2.06, allocations: 51.77 kB / 0.6388 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/2.06, allocations: 135.3 kB / 0.639 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02116/2.081, allocations: 8.443 MB / 0.6472 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/2.081, allocations: 0 / 0.6472 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/2.081, allocations: 0 / 0.6472 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.336e-06/2.081, allocations: 0 / 0.6472 GB, free: 13.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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004082/2.085, allocations: 1.419 MB / 0.6486 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/2.086, allocations: 12.02 kB / 0.6486 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/2.086, allocations: 58.55 kB / 0.6487 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/2.086, allocations: 34.34 kB / 0.6487 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/2.086, allocations: 180.7 kB / 0.6489 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/2.086, allocations: 16.44 kB / 0.6489 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/2.086, allocations: 16 kB / 0.6489 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/2.086, allocations: 301 kB / 0.6492 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/2.086, allocations: 4 kB / 0.6492 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/2.086, allocations: 12 kB / 0.6492 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/2.086, allocations: 8 kB / 0.6492 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/2.087, allocations: 173.1 kB / 0.6494 GB, free: 11.13 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.03587/2.123, allocations: 11.24 MB / 0.6603 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/2.123, allocations: 110.7 kB / 0.6604 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/2.123, allocations: 69.59 kB / 0.6605 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1562/2.279, allocations: 43.42 MB / 0.7029 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.897e-05/2.279, allocations: 38.5 kB / 0.7029 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.386e-06/2.279, allocations: 0.9375 kB / 0.703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001004/2.28, allocations: 364.5 kB / 0.7033 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/2.28, allocations: 55.39 kB / 0.7034 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/2.281, allocations: 224.9 kB / 0.7036 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/2.281, allocations: 25.7 kB / 0.7036 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/2.281, allocations: 149.9 kB / 0.7037 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/2.281, allocations: 111 kB / 0.7038 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/2.281, allocations: 53.64 kB / 0.7039 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/2.281, allocations: 338.8 kB / 0.7042 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/2.281, allocations: 71.98 kB / 0.7043 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/2.281, allocations: 128.1 kB / 0.7044 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/2.282, allocations: 210.7 kB / 0.7046 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.282, allocations: 4 kB / 0.7046 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000449/2.282, allocations: 301.4 kB / 0.7049 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/2.282, allocations: 8 kB / 0.7049 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/2.282, allocations: 0 / 0.7049 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008861/2.283, allocations: 158.7 kB / 0.7051 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/2.283, allocations: 16.64 kB / 0.7051 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005779/2.284, allocations: 0.6278 MB / 0.7057 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/2.284, allocations: 36.98 kB / 0.7057 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/2.284, allocations: 4 kB / 0.7057 GB, free: 1.074 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.0001419/2.284, allocations: 131.1 kB / 0.7058 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/2.284, allocations: 27.8 kB / 0.7059 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/2.285, allocations: 0.5837 MB / 0.7064 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003701/2.285, allocations: 218.3 kB / 0.7067 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/2.285, allocations: 0 / 0.7067 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/2.285, allocations: 0.7031 kB / 0.7067 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/2.286, allocations: 0.7074 MB / 0.7073 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.286, allocations: 0 / 0.7073 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/2.286, allocations: 17.06 kB / 0.7074 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/2.286, allocations: 112.8 kB / 0.7075 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/2.286, allocations: 4 kB / 0.7075 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005342/2.287, allocations: 0.6522 MB / 0.7081 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.287, allocations: 7.875 kB / 0.7081 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/2.288, allocations: 337.3 kB / 0.7084 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/2.288, allocations: 35.78 kB / 0.7085 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/2.288, allocations: 19.83 kB / 0.7085 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/2.288, allocations: 0.9375 kB / 0.7085 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/2.288, allocations: 15.97 kB / 0.7085 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/2.288, allocations: 5 kB / 0.7085 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002547/2.288, allocations: 235.1 kB / 0.7087 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.288, allocations: 4 kB / 0.7087 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00312/2.291, allocations: 1.204 MB / 0.7099 GB, free: 12.59 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.006/2.297, allocations: 2.52 MB / 0.7124 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005718/2.298, allocations: 213.5 kB / 0.7126 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.298, allocations: 4.25 kB / 0.7126 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/2.298, allocations: 77.38 kB / 0.7127 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/2.299, allocations: 122.4 kB / 0.7128 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/2.303, allocations: 3.056 MB / 0.7158 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/2.304, allocations: 0.7713 MB / 0.7165 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000105/2.304, allocations: 24.2 kB / 0.7165 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/2.304, allocations: 91.41 kB / 0.7166 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/2.304, allocations: 0 / 0.7166 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09256/2.397, allocations: 48.12 MB / 0.7636 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/16.73, allocations: 7.312 kB / 0.7636 GB, free: 6.105 MB / 0.6231 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.873640056999875] Failed to read output from testmodel.py, exit status != 0: 17.31682864000004 17.328314143 15.244289247 Calling exit ...