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.5587/0.5587, allocations: 120.4 MB / 139.5 MB, free: 13 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 2.735e-06/2.735e-06, allocations: 0 / 216.7 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.268e-05, allocations: 2.281 kB / 216.7 MB, free: 8.609 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 0.9973/0.9973, allocations: 254.3 MB / 471 MB, free: 8.867 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2512/1.248, allocations: 30.74 MB / 0.49 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/1.249, allocations: 2.812 kB / 0.49 GB, free: 0.9023 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.0003444/1.249, allocations: 104.8 kB / 0.4901 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/1.249, allocations: 121.5 kB / 0.4902 GB, free: 0.8945 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.02058/1.27, allocations: 9.849 MB / 0.4998 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005468/1.27, allocations: 367.8 kB / 0.5002 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/1.27, allocations: 95.17 kB / 0.5002 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/1.271, allocations: 228.7 kB / 0.5005 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/1.271, allocations: 84.28 kB / 0.5005 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/1.271, allocations: 21.52 kB / 0.5006 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02439/1.295, allocations: 16.85 MB / 0.517 GB, free: 2.91 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/1.295, allocations: 54.19 kB / 0.5171 GB, free: 2.863 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/1.296, allocations: 88.8 kB / 0.5171 GB, free: 2.781 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/1.315, allocations: 10.88 MB / 0.5278 GB, free: 8.402 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.315, allocations: 0 / 0.5278 GB, free: 8.402 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.315, allocations: 1.281 kB / 0.5278 GB, free: 8.402 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/1.315, allocations: 4 kB / 0.5278 GB, free: 8.398 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.003708/1.319, allocations: 1.418 MB / 0.5292 GB, free: 6.949 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.319, allocations: 9.188 kB / 0.5292 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/1.319, allocations: 63.03 kB / 0.5292 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/1.319, allocations: 36.47 kB / 0.5293 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/1.319, allocations: 173.7 kB / 0.5294 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.319, allocations: 16.5 kB / 0.5294 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/1.319, allocations: 23.62 kB / 0.5295 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/1.319, allocations: 343.2 kB / 0.5298 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.32, allocations: 4 kB / 0.5298 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.32, allocations: 4.75 kB / 0.5298 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.32, allocations: 20.52 kB / 0.5298 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/1.32, allocations: 178.3 kB / 0.53 GB, free: 6.031 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.01735/1.337, allocations: 10.92 MB / 0.5407 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/1.337, allocations: 130.5 kB / 0.5408 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/1.337, allocations: 76.72 kB / 0.5409 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0702/1.408, allocations: 43.61 MB / 0.5834 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.408, allocations: 30.56 kB / 0.5835 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/1.408, allocations: 0.5625 kB / 0.5835 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0007022/1.408, allocations: 350.4 kB / 0.5838 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.408, allocations: 84.98 kB / 0.5839 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/1.409, allocations: 231.1 kB / 0.5841 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.409, allocations: 25.7 kB / 0.5841 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/1.409, allocations: 160.6 kB / 0.5843 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/1.409, allocations: 114.6 kB / 0.5844 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/1.409, allocations: 49.7 kB / 0.5844 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/1.409, allocations: 330.8 kB / 0.5848 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/1.409, allocations: 83.97 kB / 0.5848 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/1.409, allocations: 153 kB / 0.585 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.409, allocations: 233.9 kB / 0.5852 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.409, allocations: 0 / 0.5852 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002983/1.41, allocations: 306.1 kB / 0.5855 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.41, allocations: 11.94 kB / 0.5855 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.41, allocations: 0.9062 kB / 0.5855 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/1.41, allocations: 141.5 kB / 0.5857 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/1.41, allocations: 16 kB / 0.5857 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003669/1.411, allocations: 0.6118 MB / 0.5863 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/1.411, allocations: 35.72 kB / 0.5863 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.411, allocations: 8 kB / 0.5863 GB, free: 12.28 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.0001138/1.411, allocations: 137.8 kB / 0.5864 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/1.411, allocations: 19.86 kB / 0.5865 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/1.411, allocations: 0.6019 MB / 0.587 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002596/1.412, allocations: 235 kB / 0.5873 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.412, allocations: 0.5625 kB / 0.5873 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.412, allocations: 1.172 kB / 0.5873 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/1.412, allocations: 0.6654 MB / 0.5879 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/1.412, allocations: 0.75 kB / 0.5879 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/1.412, allocations: 19.94 kB / 0.5879 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/1.413, allocations: 116.7 kB / 0.588 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.413, allocations: 1.031 kB / 0.5881 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/1.413, allocations: 0.6383 MB / 0.5887 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.413, allocations: 8.672 kB / 0.5887 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/1.413, allocations: 340.2 kB / 0.589 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/1.413, allocations: 27.83 kB / 0.589 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/1.413, allocations: 15.89 kB / 0.589 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/1.413, allocations: 7.938 kB / 0.5891 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/1.413, allocations: 8.547 kB / 0.5891 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/1.413, allocations: 9.984 kB / 0.5891 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001611/1.414, allocations: 235.1 kB / 0.5893 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/1.414, allocations: 0 / 0.5893 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002633/1.416, allocations: 1.236 MB / 0.5905 GB, free: 7.805 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.004345/1.421, allocations: 2.728 MB / 0.5932 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004319/1.421, allocations: 226.8 kB / 0.5934 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.421, allocations: 320 / 0.5934 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.421, allocations: 99.69 kB / 0.5935 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/1.422, allocations: 132 kB / 0.5936 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.425, allocations: 3.097 MB / 0.5966 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/1.425, allocations: 164.7 kB / 0.5968 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001/1.425, allocations: 29 kB / 0.5968 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/1.425, allocations: 92.47 kB / 0.5969 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.425, allocations: 0 / 0.5969 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/1.491, allocations: 49.43 MB / 0.6452 GB, free: 260 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/12, allocations: 8.562 kB / 0.6452 GB, free: 256 kB / 0.573 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.689383875578642] Failed to read output from testmodel.py, exit status != 0: 12.382279850542545 12.525137545 11.208058563 Calling exit ...