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.8377/0.8377, allocations: 153.8 MB / 173.4 MB, free: 4.934 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: 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 0.0005693/0.0005693, allocations: 19.97 kB / 251.1 MB, free: 3.949 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1848, allocations: 33.35 MB / 284.5 MB, free: 2.152 MB / 222.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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.922/2.107, allocations: 307.6 MB / 0.5781 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2436/2.35, allocations: 193.7 MB / 0.7673 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/2.351, allocations: 7.938 kB / 0.7673 GB, free: 3.391 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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:34:3-35:67: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:36:3-37:65: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.0001772/2.351, allocations: 48.36 kB / 0.7673 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/2.351, allocations: 115 kB / 0.7674 GB, free: 3.23 MB / 0.6231 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.03821/2.39, allocations: 12.45 MB / 0.7796 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001001/2.391, allocations: 418.6 kB / 0.78 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/2.391, allocations: 164.9 kB / 0.7801 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/2.391, allocations: 187.3 kB / 0.7803 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/2.391, allocations: 171.3 kB / 0.7805 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/2.392, allocations: 36 kB / 0.7805 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04616/2.438, allocations: 21.13 MB / 0.8012 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/2.438, allocations: 95.69 kB / 0.8013 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/2.438, allocations: 199 kB / 0.8014 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03164/2.47, allocations: 10.41 MB / 0.8116 GB, free: 5.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/2.47, allocations: 8 kB / 0.8116 GB, free: 5.922 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/2.47, allocations: 0 / 0.8116 GB, free: 5.922 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.628e-06/2.47, allocations: 0 / 0.8116 GB, free: 5.922 MB / 0.67 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.006588/2.476, allocations: 1.915 MB / 0.8135 GB, free: 3.965 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/2.477, allocations: 12.03 kB / 0.8135 GB, free: 3.953 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/2.477, allocations: 47.72 kB / 0.8135 GB, free: 3.906 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/2.477, allocations: 255.5 kB / 0.8138 GB, free: 3.633 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/2.477, allocations: 29.94 kB / 0.8138 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/2.477, allocations: 36 kB / 0.8138 GB, free: 3.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/2.478, allocations: 378.6 kB / 0.8142 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/2.478, allocations: 0 / 0.8142 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/2.478, allocations: 16 kB / 0.8142 GB, free: 3.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/2.478, allocations: 8 kB / 0.8142 GB, free: 3.148 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/2.478, allocations: 250.4 kB / 0.8145 GB, free: 2.906 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/2.486, allocations: 3.836 MB / 0.8182 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/2.487, allocations: 81 kB / 0.8183 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/2.487, allocations: 29.73 kB / 0.8183 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5146/3.001, allocations: 88.36 MB / 0.9046 GB, free: 252.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/3.001, allocations: 46.55 kB / 0.9047 GB, free: 252.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.826e-06/3.001, allocations: 1.594 kB / 0.9047 GB, free: 252.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0007967/3.002, allocations: 174.5 kB / 0.9048 GB, free: 252 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/3.002, allocations: 77.11 kB / 0.9049 GB, free: 251.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/3.003, allocations: 344 kB / 0.9052 GB, free: 251.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/3.003, allocations: 29.7 kB / 0.9053 GB, free: 251.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/3.003, allocations: 243.9 kB / 0.9055 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/3.003, allocations: 24.5 kB / 0.9055 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/3.003, allocations: 69.83 kB / 0.9056 GB, free: 251.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.428e-05/3.003, allocations: 334.8 kB / 0.9059 GB, free: 250.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/3.003, allocations: 44.45 kB / 0.9059 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/3.003, allocations: 164.9 kB / 0.9061 GB, free: 250.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/3.003, allocations: 209.7 kB / 0.9063 GB, free: 250.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/3.003, allocations: 4 kB / 0.9063 GB, free: 250.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004251/3.004, allocations: 288.4 kB / 0.9066 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/3.004, allocations: 8 kB / 0.9066 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/3.004, allocations: 6.625 kB / 0.9066 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009146/3.005, allocations: 105.2 kB / 0.9067 GB, free: 250 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/3.005, allocations: 50.25 kB / 0.9067 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003474/3.005, allocations: 0.5673 MB / 0.9073 GB, free: 249.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/3.005, allocations: 37.09 kB / 0.9073 GB, free: 249.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/3.005, allocations: 16 kB / 0.9073 GB, free: 249.3 MB / 0.6856 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 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * 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 0.0001519/3.005, allocations: 155.1 kB / 0.9075 GB, free: 249.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/3.006, allocations: 31.81 kB / 0.9075 GB, free: 249.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/3.006, allocations: 179 kB / 0.9077 GB, free: 249 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/3.006, allocations: 7.938 kB / 0.9077 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/3.006, allocations: 0 / 0.9077 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/3.006, allocations: 0 / 0.9077 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/3.006, allocations: 286.8 kB / 0.908 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/3.006, allocations: 4 kB / 0.908 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/3.006, allocations: 4 kB / 0.908 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/3.007, allocations: 85.5 kB / 0.9081 GB, free: 248.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/3.007, allocations: 0 / 0.9081 GB, free: 248.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002918/3.007, allocations: 0.5745 MB / 0.9086 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/3.007, allocations: 0 / 0.9086 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/3.008, allocations: 168.8 kB / 0.9088 GB, free: 247.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/3.008, allocations: 52.59 kB / 0.9088 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/3.008, allocations: 0 / 0.9088 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/3.008, allocations: 12.06 kB / 0.9088 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/3.008, allocations: 4.5 kB / 0.9088 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/3.008, allocations: 4 kB / 0.9089 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002003/3.008, allocations: 251.2 kB / 0.9091 GB, free: 247.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/3.008, allocations: 0 / 0.9091 GB, free: 247.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004257/3.012, allocations: 1.624 MB / 0.9107 GB, free: 246.1 MB / 0.6856 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.006694/3.019, allocations: 2.487 MB / 0.9131 GB, free: 243.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005457/3.019, allocations: 132.2 kB / 0.9132 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/3.019, allocations: 0 / 0.9132 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/3.02, allocations: 35.97 kB / 0.9133 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/3.02, allocations: 79.52 kB / 0.9133 GB, free: 243.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/3.021, allocations: 0.5442 MB / 0.9139 GB, free: 243.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/3.021, allocations: 0.7824 MB / 0.9146 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/3.021, allocations: 27.44 kB / 0.9147 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/3.021, allocations: 0 / 0.9147 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.03943/3.061, allocations: 31.34 MB / 0.9453 GB, free: 211.6 MB / 0.6856 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.003253245027736] Failed to read output from testmodel.py, exit status != 0: 3.234540025005117 3.243761268 0.771510758 Calling exit ...