Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8392/0.8392, allocations: 153.8 MB / 170.2 MB, free: 13.77 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.Fluid.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005175, allocations: 16.89 kB / 246.3 MB, free: 14.9 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0665/0.06702, allocations: 33.34 MB / 279.6 MB, free: 15.13 MB / 238.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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.911/1.978, allocations: 307.4 MB / 0.5733 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.7109/2.689, allocations: 193.6 MB / 0.7623 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/2.69, allocations: 9.75 kB / 0.7623 GB, free: 13.35 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001888/2.69, allocations: 40.44 kB / 0.7624 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/2.69, allocations: 115.4 kB / 0.7625 GB, free: 13.27 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04741/2.738, allocations: 12.33 MB / 0.7745 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006951/2.738, allocations: 408.4 kB / 0.7749 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/2.739, allocations: 173.8 kB / 0.7751 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/2.739, allocations: 174.1 kB / 0.7752 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/2.739, allocations: 185.9 kB / 0.7754 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/2.739, allocations: 32.94 kB / 0.7754 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04958/2.789, allocations: 21.1 MB / 0.796 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/2.789, allocations: 89.75 kB / 0.7961 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003646/2.789, allocations: 198.6 kB / 0.7963 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04061/2.83, allocations: 10.42 MB / 0.8065 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/2.83, allocations: 0 / 0.8065 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/2.83, allocations: 4 kB / 0.8065 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.488e-06/2.83, allocations: 0 / 0.8065 GB, free: 4.82 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.006258/2.836, allocations: 1.986 MB / 0.8084 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/2.836, allocations: 8.031 kB / 0.8084 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.87e-05/2.836, allocations: 75.58 kB / 0.8085 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/2.836, allocations: 51.66 kB / 0.8086 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/2.837, allocations: 318.5 kB / 0.8089 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/2.837, allocations: 25 kB / 0.8089 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/2.837, allocations: 36 kB / 0.8089 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/2.838, allocations: 386.4 kB / 0.8093 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/2.838, allocations: 4 kB / 0.8093 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/2.838, allocations: 16 kB / 0.8093 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/2.838, allocations: 8 kB / 0.8093 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/2.838, allocations: 250 kB / 0.8096 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009663/2.848, allocations: 6.181 MB / 0.8156 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/2.848, allocations: 74.53 kB / 0.8157 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/2.848, allocations: 28.89 kB / 0.8157 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3765/3.225, allocations: 165.9 MB / 0.9777 GB, free: 1.355 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/3.225, allocations: 30.56 kB / 0.9778 GB, free: 1.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/3.225, allocations: 0 / 0.9778 GB, free: 1.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0009902/3.226, allocations: 271.2 kB / 0.978 GB, free: 1.027 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/3.226, allocations: 85.09 kB / 0.9781 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/3.226, allocations: 332.5 kB / 0.9784 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/3.226, allocations: 33.64 kB / 0.9784 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/3.226, allocations: 235.9 kB / 0.9787 GB, free: 324 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/3.227, allocations: 34.92 kB / 0.9787 GB, free: 292 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/3.227, allocations: 61.89 kB / 0.9788 GB, free: 224 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001739/3.227, allocations: 338.8 kB / 0.9791 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/3.227, allocations: 48.44 kB / 0.9791 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/3.227, allocations: 155 kB / 0.9793 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/3.227, allocations: 217.5 kB / 0.9795 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/3.227, allocations: 1.188 kB / 0.9795 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006457/3.228, allocations: 271.2 kB / 0.9797 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/3.228, allocations: 15.97 kB / 0.9798 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/3.228, allocations: 4 kB / 0.9798 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/3.229, allocations: 112.7 kB / 0.9799 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/3.229, allocations: 40.67 kB / 0.9799 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005786/3.23, allocations: 0.568 MB / 0.9805 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/3.23, allocations: 39.67 kB / 0.9805 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/3.23, allocations: 11.98 kB / 0.9805 GB, free: 14.28 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002074/3.23, allocations: 160.4 kB / 0.9807 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/3.23, allocations: 35.86 kB / 0.9807 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/3.231, allocations: 177 kB / 0.9809 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/3.231, allocations: 0 / 0.9809 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/3.231, allocations: 1.188 kB / 0.9809 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/3.231, allocations: 0 / 0.9809 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/3.231, allocations: 331.3 kB / 0.9812 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/3.231, allocations: 0 / 0.9812 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/3.232, allocations: 4 kB / 0.9812 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/3.232, allocations: 77.66 kB / 0.9813 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/3.232, allocations: 3.984 kB / 0.9813 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000502/3.233, allocations: 0.564 MB / 0.9818 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/3.233, allocations: 48 / 0.9818 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/3.233, allocations: 184.9 kB / 0.982 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/3.233, allocations: 129.9 kB / 0.9821 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/3.233, allocations: 0 / 0.9821 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/3.233, allocations: 7.984 kB / 0.9821 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/3.233, allocations: 0 / 0.9821 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/3.233, allocations: 4 kB / 0.9821 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003111/3.234, allocations: 251.2 kB / 0.9824 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/3.234, allocations: 0 / 0.9824 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005257/3.239, allocations: 1.636 MB / 0.984 GB, free: 10.6 MB / 0.8106 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 (4): * Single equations (assignments): 3 * 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.01102/3.25, allocations: 3.096 MB / 0.987 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006984/3.251, allocations: 130 kB / 0.9871 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/3.251, allocations: 0 / 0.9871 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/3.251, allocations: 39.91 kB / 0.9872 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/3.251, allocations: 73.53 kB / 0.9872 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/3.259, allocations: 3.197 MB / 0.9903 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/3.259, allocations: 0.7791 MB / 0.9911 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000177/3.259, allocations: 44.23 kB / 0.9912 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/3.259, allocations: 99.41 kB / 0.9912 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of SimCode: time 1.893e-06/3.259, allocations: 0 / 0.9912 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3949/3.654, allocations: 54.67 MB / 1.045 GB, free: 425.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/19.21, allocations: 13.89 kB / 1.045 GB, free: 425.9 MB / 0.8262 GB " [Timeout remaining time 640] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.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_Fluid_Examples_SimpleExamples_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.212145158002386] Failed to read output from testmodel.py, exit status != 0: 19.528450937999878 19.537487587 16.705290652 Calling exit ...