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.5474/0.5474, 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.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 2.364e-06/2.364e-06, allocations: 0 / 216.7 MB, free: 8.562 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.584e-05, allocations: 2.281 kB / 216.7 MB, free: 8.559 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.Examples.SimpleExamples.TestPipePressureLoss): time 0.9826/0.9826, allocations: 254.3 MB / 471 MB, free: 9.648 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02516/1.008, allocations: 30.52 MB / 0.4898 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/1.008, allocations: 7.938 kB / 0.4898 GB, free: 11 MB / 458.7 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.0003707/1.008, allocations: 107.3 kB / 0.4899 GB, free: 10.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/1.008, allocations: 123.1 kB / 0.49 GB, free: 10.77 MB / 458.7 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.01883/1.027, allocations: 9.776 MB / 0.4996 GB, free: 0.957 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/1.028, allocations: 362.1 kB / 0.4999 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/1.028, allocations: 92.77 kB / 0.5 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/1.028, allocations: 215.4 kB / 0.5002 GB, free: 312 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/1.028, allocations: 83.67 kB / 0.5003 GB, free: 228 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/1.028, allocations: 16 kB / 0.5003 GB, free: 212 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2602/1.288, allocations: 16.79 MB / 0.5167 GB, free: 15.63 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/1.289, allocations: 45.66 kB / 0.5167 GB, free: 15.63 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/1.289, allocations: 85.2 kB / 0.5168 GB, free: 15.63 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/1.304, allocations: 10.8 MB / 0.5274 GB, free: 15.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.304, allocations: 0 / 0.5274 GB, free: 15.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.304, allocations: 2.344 kB / 0.5274 GB, free: 15.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/1.304, allocations: 0 / 0.5274 GB, free: 15.56 MB / 474.7 MB 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.002297/1.306, allocations: 1.414 MB / 0.5287 GB, free: 14.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.306, allocations: 8.562 kB / 0.5288 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/1.307, allocations: 62.69 kB / 0.5288 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/1.307, allocations: 29.28 kB / 0.5288 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.307, allocations: 176.4 kB / 0.529 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.307, allocations: 13.66 kB / 0.529 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/1.307, allocations: 25.52 kB / 0.529 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/1.307, allocations: 295 kB / 0.5293 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.307, allocations: 1.312 kB / 0.5293 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.307, allocations: 9.812 kB / 0.5293 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.307, allocations: 13.45 kB / 0.5294 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/1.307, allocations: 174.2 kB / 0.5295 GB, free: 14.45 MB / 474.7 MB 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.01614/1.323, allocations: 10.83 MB / 0.5401 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.324, allocations: 109.8 kB / 0.5402 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/1.324, allocations: 80.97 kB / 0.5403 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06746/1.391, allocations: 43.57 MB / 0.5828 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.391, allocations: 34.56 kB / 0.5829 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/1.391, allocations: 0 / 0.5829 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0008055/1.392, allocations: 366.6 kB / 0.5832 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.392, allocations: 55.41 kB / 0.5833 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/1.392, allocations: 227 kB / 0.5835 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/1.392, allocations: 30.45 kB / 0.5835 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/1.392, allocations: 152.7 kB / 0.5837 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/1.392, allocations: 114.2 kB / 0.5838 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/1.392, allocations: 45.7 kB / 0.5838 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.393, allocations: 330.8 kB / 0.5841 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/1.393, allocations: 77.61 kB / 0.5842 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.393, allocations: 116.3 kB / 0.5843 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.393, allocations: 211.3 kB / 0.5845 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.393, allocations: 8.562 kB / 0.5845 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002816/1.393, allocations: 289 kB / 0.5848 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.393, allocations: 8 kB / 0.5848 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.393, allocations: 0 / 0.5848 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/1.394, allocations: 169.8 kB / 0.585 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.74e-05/1.394, allocations: 11.94 kB / 0.585 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007002/1.394, allocations: 0.6339 MB / 0.5856 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.395, allocations: 19.78 kB / 0.5856 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/1.395, allocations: 12 kB / 0.5856 GB, free: 4.645 MB / 0.4948 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.0001293/1.395, allocations: 146.1 kB / 0.5858 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/1.395, allocations: 27.75 kB / 0.5858 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/1.395, allocations: 0.5845 MB / 0.5864 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002066/1.396, allocations: 220 kB / 0.5866 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.396, allocations: 0 / 0.5866 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.396, allocations: 4.75 kB / 0.5866 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/1.396, allocations: 0.6723 MB / 0.5872 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.396, allocations: 0 / 0.5872 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/1.396, allocations: 12 kB / 0.5872 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/1.396, allocations: 110.3 kB / 0.5873 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.396, allocations: 9.25 kB / 0.5874 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003265/1.397, allocations: 0.657 MB / 0.588 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.397, allocations: 4.031 kB / 0.588 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/1.397, allocations: 335.9 kB / 0.5883 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/1.397, allocations: 39.72 kB / 0.5884 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/1.397, allocations: 11.89 kB / 0.5884 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/1.397, allocations: 4 kB / 0.5884 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/1.397, allocations: 7.984 kB / 0.5884 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/1.397, allocations: 5.688 kB / 0.5884 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001596/1.397, allocations: 239.1 kB / 0.5886 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/1.397, allocations: 0 / 0.5886 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00379/1.401, allocations: 1.21 MB / 0.5898 GB, free: 228 kB / 0.4948 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.004214/1.405, allocations: 2.672 MB / 0.5924 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007291/1.406, allocations: 225.8 kB / 0.5926 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.406, allocations: 3.469 kB / 0.5926 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/1.406, allocations: 75.75 kB / 0.5927 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/1.407, allocations: 127.6 kB / 0.5928 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.41, allocations: 3.055 MB / 0.5958 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/1.41, allocations: 160.8 kB / 0.596 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.068e-05/1.41, allocations: 19.12 kB / 0.596 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/1.41, allocations: 88.47 kB / 0.5961 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/1.41, allocations: 0 / 0.5961 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/1.481, allocations: 48.74 MB / 0.6437 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/11.01, allocations: 9.516 kB / 0.6437 GB, free: 9.535 MB / 0.5573 GB " [Timeout remaining time 649] (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: 12.527491544373333] Failed to read output from testmodel.py, exit status != 0: 11.377987084910274 11.282167647 9.976155842 Calling exit ...