Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.8312/0.8312, allocations: 153.8 MB / 172.7 MB, free: 4.949 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.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 11.98 kB / 249.8 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.171, allocations: 33.36 MB / 283.2 MB, free: 1.828 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.TestDiaphragm): time 1.8/1.971, allocations: 307.5 MB / 0.5768 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03463/2.006, allocations: 34.95 MB / 0.611 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/2.006, allocations: 2.281 kB / 0.611 GB, free: 14.26 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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35: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.0004288/2.006, allocations: 135.3 kB / 0.6111 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/2.007, allocations: 117.9 kB / 0.6112 GB, free: 14.11 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.02753/2.034, allocations: 9.883 MB / 0.6209 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/2.035, allocations: 358.8 kB / 0.6212 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/2.035, allocations: 94.28 kB / 0.6213 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/2.036, allocations: 164 kB / 0.6215 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/2.036, allocations: 117.9 kB / 0.6216 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/2.036, allocations: 20 kB / 0.6216 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03475/2.071, allocations: 18 MB / 0.6392 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/2.071, allocations: 47.78 kB / 0.6392 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/2.071, allocations: 131.4 kB / 0.6393 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0203/2.091, allocations: 8.497 MB / 0.6476 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/2.091, allocations: 4.938 kB / 0.6476 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/2.091, allocations: 0 / 0.6476 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.037e-05/2.091, allocations: 0 / 0.6476 GB, free: 13.04 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004219/2.095, allocations: 1.442 MB / 0.649 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/2.095, allocations: 8.031 kB / 0.6491 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/2.096, allocations: 62.53 kB / 0.6491 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/2.096, allocations: 35.75 kB / 0.6491 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/2.096, allocations: 173.6 kB / 0.6493 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/2.096, allocations: 16.44 kB / 0.6493 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/2.096, allocations: 20 kB / 0.6493 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/2.096, allocations: 331.1 kB / 0.6497 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/2.096, allocations: 1.172 kB / 0.6497 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/2.096, allocations: 8 kB / 0.6497 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/2.096, allocations: 8 kB / 0.6497 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/2.097, allocations: 181.1 kB / 0.6499 GB, free: 10.67 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.03467/2.131, allocations: 11.29 MB / 0.6609 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/2.132, allocations: 127.6 kB / 0.661 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/2.132, allocations: 69.86 kB / 0.6611 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.146/2.278, allocations: 43.45 MB / 0.7035 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/2.278, allocations: 44.33 kB / 0.7035 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/2.278, allocations: 0 / 0.7035 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001004/2.279, allocations: 336.5 kB / 0.7039 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/2.279, allocations: 81.11 kB / 0.7039 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/2.279, allocations: 224.9 kB / 0.7042 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/2.279, allocations: 29.7 kB / 0.7042 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/2.279, allocations: 156.7 kB / 0.7043 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/2.28, allocations: 115 kB / 0.7044 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/2.28, allocations: 57.64 kB / 0.7045 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/2.28, allocations: 331.6 kB / 0.7048 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/2.28, allocations: 75.97 kB / 0.7049 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/2.28, allocations: 142.5 kB / 0.705 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/2.28, allocations: 229.6 kB / 0.7052 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/2.28, allocations: 0 / 0.7052 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004788/2.281, allocations: 300.2 kB / 0.7055 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.281, allocations: 8 kB / 0.7055 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/2.281, allocations: 1.25 kB / 0.7055 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/2.282, allocations: 140.8 kB / 0.7057 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/2.282, allocations: 24.69 kB / 0.7057 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006242/2.283, allocations: 0.607 MB / 0.7063 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/2.283, allocations: 35.67 kB / 0.7063 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/2.283, allocations: 8.062 kB / 0.7063 GB, free: 500 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.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 (15): * Single equations (assignments): 12 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000147/2.283, allocations: 137.8 kB / 0.7065 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/2.283, allocations: 32.44 kB / 0.7065 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/2.284, allocations: 0.5964 MB / 0.7071 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005591/2.285, allocations: 226.4 kB / 0.7073 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/2.285, allocations: 1.656 kB / 0.7073 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/2.285, allocations: 0 / 0.7073 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/2.286, allocations: 0.6899 MB / 0.708 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/2.286, allocations: 7.938 kB / 0.708 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/2.286, allocations: 19.98 kB / 0.708 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/2.286, allocations: 121.9 kB / 0.7081 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/2.286, allocations: 5.5 kB / 0.7081 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000575/2.287, allocations: 0.6398 MB / 0.7087 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.287, allocations: 0 / 0.7087 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/2.288, allocations: 350.5 kB / 0.7091 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/2.288, allocations: 31.78 kB / 0.7091 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/2.288, allocations: 15.89 kB / 0.7091 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/2.288, allocations: 12.05 kB / 0.7091 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/2.288, allocations: 11.98 kB / 0.7091 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/2.288, allocations: 3.938 kB / 0.7091 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002648/2.288, allocations: 239.1 kB / 0.7094 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/2.288, allocations: 0 / 0.7094 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003205/2.291, allocations: 1.231 MB / 0.7106 GB, free: 11.95 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 (13): * Single equations (assignments): 12 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006619/2.298, allocations: 2.555 MB / 0.7131 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000726/2.299, allocations: 229.6 kB / 0.7133 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/2.299, allocations: 0 / 0.7133 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/2.299, allocations: 93.97 kB / 0.7134 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/2.3, allocations: 130 kB / 0.7135 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/2.305, allocations: 3.105 MB / 0.7165 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/2.305, allocations: 0.7675 MB / 0.7173 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001413/2.305, allocations: 26.31 kB / 0.7173 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/2.306, allocations: 95.41 kB / 0.7174 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/2.306, allocations: 0 / 0.7174 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09785/2.403, allocations: 48.67 MB / 0.7649 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/17.05, allocations: 9.094 kB / 0.7649 GB, free: 4.82 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm_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_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.300493426000003] Failed to read output from testmodel.py, exit status != 0: 17.574226650000128 17.593506752 15.4982743 Calling exit ...