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.5877/0.5877, allocations: 120.4 MB / 139.5 MB, free: 13.01 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.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 4.719e-06/4.719e-06, allocations: 1.156 kB / 216.7 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/3.216e-05, allocations: 2.281 kB / 216.7 MB, free: 8.617 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.TestDiaphragm): time 1.017/1.017, allocations: 254.3 MB / 471 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2683/1.285, allocations: 30.73 MB / 0.49 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/1.285, allocations: 4.062 kB / 0.49 GB, free: 0.918 MB / 442.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/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.0003815/1.285, allocations: 107.5 kB / 0.4901 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/1.286, allocations: 124.6 kB / 0.4902 GB, free: 0.9102 MB / 442.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.02213/1.308, allocations: 9.843 MB / 0.4998 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006783/1.308, allocations: 363.3 kB / 0.5002 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/1.309, allocations: 102.8 kB / 0.5003 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/1.309, allocations: 221.3 kB / 0.5005 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/1.309, allocations: 87.56 kB / 0.5005 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/1.309, allocations: 18.25 kB / 0.5006 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02625/1.335, allocations: 16.85 MB / 0.517 GB, free: 2.918 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/1.335, allocations: 49.08 kB / 0.5171 GB, free: 2.875 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/1.336, allocations: 86.53 kB / 0.5172 GB, free: 2.793 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02034/1.356, allocations: 10.88 MB / 0.5278 GB, free: 8.418 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.356, allocations: 0 / 0.5278 GB, free: 8.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.356, allocations: 0 / 0.5278 GB, free: 8.418 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/1.356, allocations: 1.406 kB / 0.5278 GB, free: 8.418 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003956/1.36, allocations: 1.423 MB / 0.5292 GB, free: 6.961 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.36, allocations: 8.031 kB / 0.5292 GB, free: 6.953 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/1.36, allocations: 67.69 kB / 0.5292 GB, free: 6.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/1.36, allocations: 28.47 kB / 0.5293 GB, free: 6.852 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.36, allocations: 172.7 kB / 0.5294 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/1.36, allocations: 17.78 kB / 0.5295 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/1.36, allocations: 25.44 kB / 0.5295 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/1.361, allocations: 348.2 kB / 0.5298 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/1.361, allocations: 0 / 0.5298 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.361, allocations: 4.75 kB / 0.5298 GB, free: 6.238 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/1.361, allocations: 21.3 kB / 0.5298 GB, free: 6.219 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/1.361, allocations: 177.1 kB / 0.53 GB, free: 6.043 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.01752/1.379, allocations: 10.92 MB / 0.5407 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/1.379, allocations: 135.1 kB / 0.5408 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/1.379, allocations: 68.78 kB / 0.5409 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07003/1.449, allocations: 43.61 MB / 0.5835 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.449, allocations: 38.5 kB / 0.5835 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.687e-06/1.449, allocations: 0.5625 kB / 0.5835 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0006873/1.45, allocations: 339.6 kB / 0.5838 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.45, allocations: 85.05 kB / 0.5839 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.45, allocations: 231.1 kB / 0.5841 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/1.45, allocations: 25.7 kB / 0.5841 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/1.45, allocations: 158.2 kB / 0.5843 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/1.45, allocations: 118.8 kB / 0.5844 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/1.45, allocations: 49.7 kB / 0.5845 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/1.45, allocations: 334.8 kB / 0.5848 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/1.45, allocations: 83.91 kB / 0.5849 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/1.45, allocations: 159.7 kB / 0.585 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/1.451, allocations: 229.9 kB / 0.5852 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.451, allocations: 0 / 0.5852 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002937/1.451, allocations: 302.1 kB / 0.5855 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.451, allocations: 8 kB / 0.5855 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.451, allocations: 1.312 kB / 0.5855 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/1.451, allocations: 141.7 kB / 0.5857 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/1.452, allocations: 19.92 kB / 0.5857 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003701/1.452, allocations: 0.608 MB / 0.5863 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/1.452, allocations: 35.81 kB / 0.5863 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.452, allocations: 8.562 kB / 0.5863 GB, free: 12.3 MB / 0.5261 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.0001446/1.452, allocations: 141.7 kB / 0.5864 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.452, allocations: 19.86 kB / 0.5865 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/1.453, allocations: 0.5986 MB / 0.587 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002622/1.453, allocations: 235 kB / 0.5873 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.453, allocations: 0 / 0.5873 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.453, allocations: 0 / 0.5873 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/1.454, allocations: 0.6665 MB / 0.5879 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.454, allocations: 4 kB / 0.5879 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/1.454, allocations: 19.98 kB / 0.5879 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/1.454, allocations: 116.7 kB / 0.5881 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/1.454, allocations: 1.031 kB / 0.5881 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/1.454, allocations: 0.6383 MB / 0.5887 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.454, allocations: 6.125 kB / 0.5887 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/1.455, allocations: 336.1 kB / 0.589 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/1.455, allocations: 31.81 kB / 0.589 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/1.455, allocations: 19.95 kB / 0.5891 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/1.455, allocations: 8.547 kB / 0.5891 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/1.455, allocations: 11.98 kB / 0.5891 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.455, allocations: 4 kB / 0.5891 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001692/1.455, allocations: 239.1 kB / 0.5893 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.455, allocations: 0 / 0.5893 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00279/1.458, allocations: 1.236 MB / 0.5905 GB, free: 7.816 MB / 0.5261 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.004458/1.462, allocations: 2.724 MB / 0.5932 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004423/1.463, allocations: 226.9 kB / 0.5934 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.463, allocations: 0 / 0.5934 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/1.463, allocations: 100 kB / 0.5935 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/1.463, allocations: 127.1 kB / 0.5936 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/1.467, allocations: 3.095 MB / 0.5966 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/1.467, allocations: 160.7 kB / 0.5968 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001112/1.467, allocations: 32.05 kB / 0.5968 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.467, allocations: 93.78 kB / 0.5969 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/1.467, allocations: 4 kB / 0.5969 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07607/1.543, allocations: 49.43 MB / 0.6452 GB, free: 276 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/12.17, allocations: 8.562 kB / 0.6452 GB, free: 272 kB / 0.573 GB " [Timeout remaining time 647] (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: 14.034557775594294] Failed to read output from testmodel.py, exit status != 0: 12.56877171061933 12.734055314999999 11.375826664 Calling exit ...