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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8753/0.8753, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0005242/0.0005243, allocations: 17.42 kB / 239.3 MB, free: 2.223 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06569/0.06623, allocations: 31.35 MB / 270.6 MB, free: 6.699 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm): time 1.798/1.865, allocations: 295.7 MB / 0.5531 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04286/1.908, allocations: 34.68 MB / 0.5869 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/1.908, allocations: 0 / 0.5869 GB, free: 9.879 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.000416/1.908, allocations: 107.3 kB / 0.587 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/1.908, allocations: 99.17 kB / 0.5871 GB, free: 9.676 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02689/1.935, allocations: 9.639 MB / 0.5965 GB, free: 32 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000619/1.936, allocations: 358.8 kB / 0.5969 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/1.936, allocations: 120.4 kB / 0.597 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/1.936, allocations: 151.3 kB / 0.5971 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/1.937, allocations: 111.4 kB / 0.5972 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/1.937, allocations: 20 kB / 0.5973 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03191/1.969, allocations: 17.96 MB / 0.6148 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/1.969, allocations: 47.83 kB / 0.6148 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/1.969, allocations: 131.3 kB / 0.615 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/1.99, allocations: 8.497 MB / 0.6233 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.99, allocations: 0 / 0.6233 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.99, allocations: 0 / 0.6233 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.99, allocations: 0 / 0.6233 GB, free: 4.605 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00481/1.995, allocations: 1.51 MB / 0.6247 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.995, allocations: 8.031 kB / 0.6247 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/1.995, allocations: 62.53 kB / 0.6248 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/1.995, allocations: 31.81 kB / 0.6248 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/1.995, allocations: 228 kB / 0.6251 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/1.995, allocations: 20.44 kB / 0.6251 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/1.995, allocations: 20 kB / 0.6251 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/1.996, allocations: 317 kB / 0.6254 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.996, allocations: 3.984 kB / 0.6254 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/1.996, allocations: 19.94 kB / 0.6254 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.996, allocations: 8 kB / 0.6254 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/1.996, allocations: 181 kB / 0.6256 GB, free: 2.074 MB / 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.03949/2.036, allocations: 18.16 MB / 0.6433 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/2.036, allocations: 158.5 kB / 0.6435 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/2.036, allocations: 88.78 kB / 0.6436 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3578/2.394, allocations: 77.91 MB / 0.7197 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/2.394, allocations: 32.97 kB / 0.7197 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.043e-06/2.394, allocations: 0 / 0.7197 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0008637/2.395, allocations: 433.6 kB / 0.7201 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/2.395, allocations: 77.11 kB / 0.7202 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/2.395, allocations: 222.5 kB / 0.7204 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/2.395, allocations: 29.08 kB / 0.7204 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/2.395, allocations: 158.2 kB / 0.7206 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/2.395, allocations: 116.6 kB / 0.7207 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/2.395, allocations: 48.22 kB / 0.7207 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/2.395, allocations: 336.6 kB / 0.721 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/2.396, allocations: 79.05 kB / 0.7211 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/2.396, allocations: 131.7 kB / 0.7212 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/2.396, allocations: 220.7 kB / 0.7215 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.396, allocations: 0 / 0.7215 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003713/2.396, allocations: 313.4 kB / 0.7218 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/2.396, allocations: 8.188 kB / 0.7218 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/2.396, allocations: 4.156 kB / 0.7218 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008756/2.397, allocations: 136.5 kB / 0.7219 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/2.397, allocations: 16.91 kB / 0.7219 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/2.398, allocations: 0.6187 MB / 0.7225 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/2.398, allocations: 30.8 kB / 0.7225 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/2.398, allocations: 9.781 kB / 0.7226 GB, free: 210.2 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 0.0001009/2.398, allocations: 138.4 kB / 0.7227 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/2.398, allocations: 21.2 kB / 0.7227 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/2.399, allocations: 0.6044 MB / 0.7233 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000465/2.399, allocations: 230.4 kB / 0.7235 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/2.399, allocations: 0 / 0.7235 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.399, allocations: 3.703 kB / 0.7235 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/2.4, allocations: 0.7346 MB / 0.7242 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/2.4, allocations: 0 / 0.7242 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/2.4, allocations: 23.05 kB / 0.7243 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/2.401, allocations: 108.9 kB / 0.7244 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/2.401, allocations: 10.83 kB / 0.7244 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003373/2.401, allocations: 0.6373 MB / 0.725 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/2.401, allocations: 5.312 kB / 0.725 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/2.402, allocations: 341.5 kB / 0.7253 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/2.402, allocations: 116.8 kB / 0.7254 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/2.402, allocations: 9.344 kB / 0.7254 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/2.402, allocations: 6.781 kB / 0.7255 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/2.402, allocations: 7.516 kB / 0.7255 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/2.402, allocations: 3 kB / 0.7255 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001874/2.402, allocations: 240 kB / 0.7257 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.12e-07/2.402, allocations: 0 / 0.7257 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00287/2.405, allocations: 1.231 MB / 0.7269 GB, free: 208.6 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.005474/2.41, allocations: 2.569 MB / 0.7294 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006644/2.411, allocations: 255 kB / 0.7296 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.411, allocations: 0 / 0.7296 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/2.411, allocations: 93.78 kB / 0.7297 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/2.412, allocations: 128.9 kB / 0.7299 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/2.416, allocations: 3.099 MB / 0.7329 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/2.417, allocations: 0.7707 MB / 0.7336 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001798/2.417, allocations: 29.02 kB / 0.7337 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/2.417, allocations: 94.52 kB / 0.7338 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/2.417, allocations: 2.469 kB / 0.7338 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/2.499, allocations: 48.21 MB / 0.7808 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.53, allocations: 10.89 kB / 0.7808 GB, free: 169.2 MB / 0.5919 GB " [Timeout remaining time 643] (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: 18.48618907900527] Failed to read output from testmodel.py, exit status != 0: 16.770221205078997 16.784858384 14.79248524 Calling exit ...