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.4827/0.4827, allocations: 111.6 MB / 131.4 MB, free: 4.949 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.777e-06/3.777e-06, allocations: 0 / 176.5 MB, free: 8.992 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/3.068e-05, allocations: 5.703 kB / 176.5 MB, free: 8.988 MB / 170.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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.031/1.031, allocations: 257.1 MB / 433.7 MB, free: 228 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.34/1.371, allocations: 180.8 MB / 0.6 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/1.371, allocations: 11.94 kB / 0.6 GB, free: 1.195 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:27:3-28:80: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:29:3-30:78: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.0001134/1.371, allocations: 47.52 kB / 0.6001 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/1.372, allocations: 122.9 kB / 0.6002 GB, free: 1.027 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.0239/1.396, allocations: 12.41 MB / 0.6123 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/1.396, allocations: 422.5 kB / 0.6127 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/1.396, allocations: 177.2 kB / 0.6129 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/1.397, allocations: 271.3 kB / 0.6131 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/1.397, allocations: 119.7 kB / 0.6132 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/1.397, allocations: 36 kB / 0.6133 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02545/1.422, allocations: 19.66 MB / 0.6325 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/1.422, allocations: 87.67 kB / 0.6326 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/1.422, allocations: 131.7 kB / 0.6327 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02889/1.451, allocations: 12.9 MB / 0.6453 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.451, allocations: 0 / 0.6453 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.244e-06/1.451, allocations: 0 / 0.6453 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.451, allocations: 0 / 0.6453 GB, free: 2.73 MB / 0.5573 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.005206/1.457, allocations: 2.006 MB / 0.6473 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.457, allocations: 15.98 kB / 0.6473 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/1.457, allocations: 75.72 kB / 0.6473 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.457, allocations: 266.8 kB / 0.6476 GB, free: 304 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.457, allocations: 28.94 kB / 0.6476 GB, free: 276 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/1.457, allocations: 39.94 kB / 0.6477 GB, free: 236 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/1.457, allocations: 351.6 kB / 0.648 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.457, allocations: 4 kB / 0.648 GB, free: 15.83 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.457, allocations: 16 kB / 0.648 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/1.457, allocations: 8 kB / 0.648 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/1.458, allocations: 123 kB / 0.6481 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/1.462, allocations: 3.383 MB / 0.6514 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/1.462, allocations: 63 kB / 0.6515 GB, free: 12.18 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/1.462, allocations: 19.72 kB / 0.6515 GB, free: 12.16 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3662/1.828, allocations: 77.71 MB / 0.7274 GB, free: 95.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.828, allocations: 35.08 kB / 0.7274 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.828, allocations: 2.406 kB / 0.7274 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005371/1.828, allocations: 186.5 kB / 0.7276 GB, free: 95.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/1.829, allocations: 92.22 kB / 0.7277 GB, free: 95.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/1.829, allocations: 344.7 kB / 0.728 GB, free: 94.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/1.829, allocations: 28.36 kB / 0.7281 GB, free: 94.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.829, allocations: 292.3 kB / 0.7283 GB, free: 94.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/1.829, allocations: 27.73 kB / 0.7284 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/1.829, allocations: 75.47 kB / 0.7284 GB, free: 94.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/1.829, allocations: 0.4976 MB / 0.7289 GB, free: 94.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/1.829, allocations: 23.42 kB / 0.729 GB, free: 94.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/1.829, allocations: 210.7 kB / 0.7292 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/1.829, allocations: 216.5 kB / 0.7294 GB, free: 93.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.829, allocations: 0 / 0.7294 GB, free: 93.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002731/1.829, allocations: 272.4 kB / 0.7296 GB, free: 93.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.829, allocations: 6.906 kB / 0.7296 GB, free: 93.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.829, allocations: 7.156 kB / 0.7296 GB, free: 93.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/1.83, allocations: 74.25 kB / 0.7297 GB, free: 93.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/1.83, allocations: 43.78 kB / 0.7297 GB, free: 93.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002306/1.83, allocations: 0.8215 MB / 0.7305 GB, free: 92.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/1.83, allocations: 29.17 kB / 0.7306 GB, free: 92.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.83, allocations: 10.72 kB / 0.7306 GB, free: 92.84 MB / 0.6198 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * 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 8.256e-05/1.83, allocations: 178.6 kB / 0.7308 GB, free: 92.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/1.83, allocations: 27.17 kB / 0.7308 GB, free: 92.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/1.831, allocations: 168.3 kB / 0.7309 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.831, allocations: 2.531 kB / 0.7309 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.831, allocations: 0 / 0.7309 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.831, allocations: 3.188 kB / 0.7309 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/1.831, allocations: 187.2 kB / 0.7311 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.831, allocations: 48 / 0.7311 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/1.831, allocations: 11.22 kB / 0.7311 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/1.831, allocations: 55.8 kB / 0.7312 GB, free: 92.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/1.831, allocations: 5.125 kB / 0.7312 GB, free: 92.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001712/1.831, allocations: 0.8123 MB / 0.732 GB, free: 91.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.831, allocations: 4.109 kB / 0.732 GB, free: 91.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/1.831, allocations: 180.2 kB / 0.7322 GB, free: 91.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/1.831, allocations: 39.48 kB / 0.7322 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.831, allocations: 0 / 0.7322 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/1.831, allocations: 6.719 kB / 0.7322 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/1.832, allocations: 2.812 kB / 0.7322 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/1.832, allocations: 5.453 kB / 0.7322 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.912e-05/1.832, allocations: 211.5 kB / 0.7324 GB, free: 91.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.832, allocations: 4 kB / 0.7324 GB, free: 91.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00259/1.834, allocations: 1.641 MB / 0.734 GB, free: 91.41 MB / 0.6198 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.004039/1.838, allocations: 2.806 MB / 0.7368 GB, free: 91.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000216/1.838, allocations: 108 kB / 0.7369 GB, free: 91.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.838, allocations: 256 / 0.7369 GB, free: 91.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/1.839, allocations: 37.66 kB / 0.7369 GB, free: 91.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/1.839, allocations: 70.31 kB / 0.737 GB, free: 91.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/1.839, allocations: 0.4923 MB / 0.7374 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/1.839, allocations: 91.19 kB / 0.7375 GB, free: 90.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.211e-05/1.84, allocations: 42.14 kB / 0.7376 GB, free: 90.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.84, allocations: 124 kB / 0.7377 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/1.84, allocations: 4 kB / 0.7377 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.04451/1.884, allocations: 58.48 MB / 0.7948 GB, free: 51.73 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.62619674904272]