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.8416/0.8416, allocations: 153.8 MB / 170.2 MB, free: 13.78 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.0005003/0.0005003, allocations: 18.3 kB / 246.3 MB, free: 14.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05946/0.05996, allocations: 33.34 MB / 279.6 MB, free: 15.15 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.Examples.SimpleExamples.TestDiaphragm): time 1.694/1.754, allocations: 307.3 MB / 0.5732 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04219/1.796, allocations: 34.91 MB / 0.6073 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/1.796, allocations: 0 / 0.6073 GB, free: 7.523 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.0004011/1.797, allocations: 132.2 kB / 0.6074 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/1.797, allocations: 119.2 kB / 0.6075 GB, free: 7.277 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.02374/1.821, allocations: 9.824 MB / 0.6171 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005624/1.821, allocations: 346.8 kB / 0.6174 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/1.821, allocations: 96.64 kB / 0.6175 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/1.822, allocations: 163.3 kB / 0.6177 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/1.822, allocations: 111.4 kB / 0.6178 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/1.822, allocations: 16 kB / 0.6178 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0309/1.853, allocations: 17.98 MB / 0.6354 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/1.853, allocations: 55.77 kB / 0.6354 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/1.853, allocations: 135.3 kB / 0.6356 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02027/1.873, allocations: 8.501 MB / 0.6439 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.873, allocations: 0 / 0.6439 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.075e-06/1.873, allocations: 0 / 0.6439 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.873, allocations: 0 / 0.6439 GB, free: 2.008 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.004212/1.878, allocations: 1.506 MB / 0.6453 GB, free: 456 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.878, allocations: 8.031 kB / 0.6453 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/1.878, allocations: 66.47 kB / 0.6454 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/1.878, allocations: 35.77 kB / 0.6454 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/1.878, allocations: 230.6 kB / 0.6457 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/1.878, allocations: 16.44 kB / 0.6457 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/1.878, allocations: 16 kB / 0.6457 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/1.879, allocations: 333 kB / 0.646 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.879, allocations: 0 / 0.646 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/1.879, allocations: 8 kB / 0.646 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.879, allocations: 8 kB / 0.646 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/1.879, allocations: 182.3 kB / 0.6462 GB, free: 15.48 MB / 0.5294 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.03862/1.918, allocations: 18.16 MB / 0.6639 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/1.918, allocations: 130.5 kB / 0.6641 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.918, allocations: 64.84 kB / 0.6641 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3354/2.253, allocations: 83.05 MB / 0.7452 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/2.254, allocations: 34.31 kB / 0.7452 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/2.254, allocations: 4 kB / 0.7453 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0008347/2.254, allocations: 421.8 kB / 0.7457 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/2.254, allocations: 77.11 kB / 0.7457 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/2.255, allocations: 225.5 kB / 0.7459 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/2.255, allocations: 29.67 kB / 0.746 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/2.255, allocations: 162.2 kB / 0.7461 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/2.255, allocations: 111.2 kB / 0.7462 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/2.255, allocations: 56.48 kB / 0.7463 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/2.255, allocations: 332.5 kB / 0.7466 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/2.255, allocations: 74.84 kB / 0.7467 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/2.255, allocations: 132.9 kB / 0.7468 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/2.255, allocations: 234.6 kB / 0.747 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/2.255, allocations: 0 / 0.747 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003573/2.256, allocations: 303.6 kB / 0.7473 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/2.256, allocations: 7.562 kB / 0.7473 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/2.256, allocations: 2.25 kB / 0.7473 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/2.257, allocations: 133.5 kB / 0.7475 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/2.257, allocations: 19.7 kB / 0.7475 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/2.257, allocations: 0.6082 MB / 0.7481 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/2.257, allocations: 32.56 kB / 0.7481 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/2.257, allocations: 19.45 kB / 0.7481 GB, free: 194.1 MB / 0.5919 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 9.563e-05/2.257, allocations: 138.2 kB / 0.7482 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/2.257, allocations: 23.52 kB / 0.7483 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/2.258, allocations: 0.5885 MB / 0.7488 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004527/2.258, allocations: 229.5 kB / 0.7491 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.258, allocations: 1.625 kB / 0.7491 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/2.258, allocations: 3.984 kB / 0.7491 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/2.259, allocations: 0.7209 MB / 0.7498 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/2.259, allocations: 0 / 0.7498 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/2.259, allocations: 34.67 kB / 0.7498 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/2.26, allocations: 102.6 kB / 0.7499 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/2.26, allocations: 4.25 kB / 0.7499 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003302/2.26, allocations: 0.6364 MB / 0.7505 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/2.26, allocations: 4.062 kB / 0.7505 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/2.261, allocations: 338.8 kB / 0.7509 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/2.261, allocations: 106.9 kB / 0.751 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/2.261, allocations: 10.25 kB / 0.751 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/2.261, allocations: 6.453 kB / 0.751 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/2.261, allocations: 11.95 kB / 0.751 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/2.261, allocations: 7.438 kB / 0.751 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000188/2.261, allocations: 240.2 kB / 0.7512 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/2.261, allocations: 0 / 0.7512 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002691/2.264, allocations: 1.243 MB / 0.7524 GB, free: 192.1 MB / 0.5919 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.004568/2.268, allocations: 2.561 MB / 0.7549 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005005/2.269, allocations: 230 kB / 0.7552 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.269, allocations: 0 / 0.7552 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/2.269, allocations: 83.94 kB / 0.7552 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/2.27, allocations: 129.2 kB / 0.7554 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/2.273, allocations: 3.086 MB / 0.7584 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/2.273, allocations: 0.7675 MB / 0.7591 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001007/2.273, allocations: 30.44 kB / 0.7591 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/2.273, allocations: 94.72 kB / 0.7592 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/2.273, allocations: 0 / 0.7592 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0706/2.344, allocations: 48.38 MB / 0.8065 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/16.16, allocations: 13.58 kB / 0.8065 GB, free: 138.6 MB / 0.5919 GB " [Timeout remaining time 644] (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: 17.993529655010207] Failed to read output from testmodel.py, exit status != 0: 16.412672424994525 16.420658947 14.545199921 Calling exit ...