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.8763/0.8763, allocations: 153.8 MB / 172.7 MB, free: 4.859 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.00054/0.00054, allocations: 11.98 kB / 249.8 MB, free: 4.359 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1978, allocations: 33.35 MB / 283.2 MB, free: 1.727 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.92/2.118, allocations: 307.6 MB / 0.5769 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03413/2.152, allocations: 30.53 MB / 0.6067 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/2.153, allocations: 2.812 kB / 0.6067 GB, free: 2.582 MB / 478.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.0004716/2.153, allocations: 108.3 kB / 0.6068 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/2.153, allocations: 114.2 kB / 0.6069 GB, free: 2.457 MB / 478.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.02764/2.181, allocations: 9.691 MB / 0.6164 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/2.182, allocations: 342.5 kB / 0.6167 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/2.182, allocations: 90.12 kB / 0.6168 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/2.182, allocations: 160 kB / 0.6169 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/2.182, allocations: 95.45 kB / 0.617 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/2.182, allocations: 16.59 kB / 0.617 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03453/2.217, allocations: 16.77 MB / 0.6334 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/2.217, allocations: 47.78 kB / 0.6335 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/2.217, allocations: 107.5 kB / 0.6336 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02156/2.239, allocations: 8.445 MB / 0.6418 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/2.239, allocations: 0 / 0.6418 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/2.239, allocations: 4 kB / 0.6418 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.716e-06/2.239, allocations: 0 / 0.6418 GB, free: 2.602 MB / 0.4981 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.004341/2.243, allocations: 1.399 MB / 0.6432 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/2.243, allocations: 8.031 kB / 0.6432 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/2.243, allocations: 70.53 kB / 0.6433 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/2.243, allocations: 29.06 kB / 0.6433 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/2.243, allocations: 181.3 kB / 0.6435 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/2.243, allocations: 12.44 kB / 0.6435 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/2.244, allocations: 24 kB / 0.6435 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/2.244, allocations: 291.4 kB / 0.6438 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/2.244, allocations: 0 / 0.6438 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/2.244, allocations: 12 kB / 0.6438 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/2.244, allocations: 15.98 kB / 0.6438 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/2.244, allocations: 170.4 kB / 0.644 GB, free: 316 kB / 0.4981 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.03507/2.279, allocations: 10.84 MB / 0.6545 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/2.28, allocations: 110.7 kB / 0.6547 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/2.28, allocations: 64.92 kB / 0.6547 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.146/2.426, allocations: 43.59 MB / 0.6973 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/2.426, allocations: 34.56 kB / 0.6973 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/2.426, allocations: 0 / 0.6973 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.00102/2.427, allocations: 368.5 kB / 0.6977 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/2.427, allocations: 60.27 kB / 0.6977 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/2.427, allocations: 223.1 kB / 0.6979 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/2.427, allocations: 29.7 kB / 0.698 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/2.427, allocations: 148.7 kB / 0.6981 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/2.427, allocations: 111 kB / 0.6982 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/2.427, allocations: 57.56 kB / 0.6983 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001536/2.428, allocations: 342.8 kB / 0.6986 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/2.428, allocations: 72.67 kB / 0.6987 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/2.428, allocations: 124.2 kB / 0.6988 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/2.428, allocations: 204.8 kB / 0.699 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.428, allocations: 1.688 kB / 0.699 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004467/2.429, allocations: 305.8 kB / 0.6993 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.429, allocations: 4 kB / 0.6993 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/2.429, allocations: 4.875 kB / 0.6993 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/2.429, allocations: 160.7 kB / 0.6994 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/2.43, allocations: 11.98 kB / 0.6994 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005552/2.43, allocations: 0.6309 MB / 0.7001 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/2.43, allocations: 27.77 kB / 0.7001 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/2.43, allocations: 8 kB / 0.7001 GB, free: 6.578 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.0001372/2.43, allocations: 129.8 kB / 0.7002 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/2.43, allocations: 23.8 kB / 0.7002 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/2.431, allocations: 0.5991 MB / 0.7008 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003551/2.432, allocations: 218.3 kB / 0.701 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.432, allocations: 0 / 0.701 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/2.432, allocations: 1.969 kB / 0.701 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/2.432, allocations: 0.6632 MB / 0.7017 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/2.432, allocations: 0 / 0.7017 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/2.433, allocations: 19.98 kB / 0.7017 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/2.433, allocations: 115.5 kB / 0.7018 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/2.433, allocations: 4 kB / 0.7018 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/2.433, allocations: 0.6595 MB / 0.7025 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/2.433, allocations: 12.67 kB / 0.7025 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/2.434, allocations: 333.8 kB / 0.7028 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/2.434, allocations: 31.78 kB / 0.7028 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/2.434, allocations: 19.89 kB / 0.7028 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/2.434, allocations: 4 kB / 0.7028 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/2.434, allocations: 11.97 kB / 0.7029 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/2.434, allocations: 4 kB / 0.7029 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002541/2.434, allocations: 239.1 kB / 0.7031 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.434, allocations: 0 / 0.7031 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003129/2.438, allocations: 1.2 MB / 0.7043 GB, free: 2.137 MB / 0.5606 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.006241/2.444, allocations: 2.517 MB / 0.7067 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005934/2.444, allocations: 223 kB / 0.7069 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.444, allocations: 0 / 0.7069 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/2.445, allocations: 84.16 kB / 0.707 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/2.445, allocations: 123.8 kB / 0.7071 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/2.45, allocations: 3.049 MB / 0.7101 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/2.45, allocations: 160.8 kB / 0.7103 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00012/2.451, allocations: 23.45 kB / 0.7103 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/2.451, allocations: 87.41 kB / 0.7104 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/2.451, allocations: 0 / 0.7104 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0962/2.547, allocations: 48.45 MB / 0.7577 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/17.27, allocations: 3.969 kB / 0.7577 GB, free: 11.99 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 & 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: 19.445692512206733] Failed to read output from testmodel.py, exit status != 0: 17.81321278307587 17.823920413 15.582703304 Calling exit ...