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.867/0.867, allocations: 152.6 MB / 171.4 MB, free: 5.992 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005553, allocations: 19.97 kB / 248.5 MB, free: 5.633 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1623, allocations: 33.05 MB / 281.6 MB, free: 3.574 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.576/1.739, allocations: 301.1 MB / 0.569 GB, free: 5.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2578/1.997, allocations: 34.85 MB / 0.6031 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/1.997, allocations: 2.188 kB / 0.6031 GB, free: 5.797 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.0003391/1.997, allocations: 132.4 kB / 0.6032 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/1.997, allocations: 118.1 kB / 0.6033 GB, free: 5.652 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.02367/2.021, allocations: 9.882 MB / 0.613 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/2.021, allocations: 348.9 kB / 0.6133 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/2.022, allocations: 98.14 kB / 0.6134 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/2.022, allocations: 156.6 kB / 0.6135 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/2.022, allocations: 114.4 kB / 0.6136 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/2.022, allocations: 19.66 kB / 0.6137 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03476/2.057, allocations: 17.98 MB / 0.6312 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/2.057, allocations: 48.41 kB / 0.6313 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/2.057, allocations: 140.9 kB / 0.6314 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02028/2.077, allocations: 8.483 MB / 0.6397 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/2.077, allocations: 0 / 0.6397 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/2.077, allocations: 1.219 kB / 0.6397 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.895e-06/2.077, allocations: 0 / 0.6397 GB, free: 8.336 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.00421/2.081, allocations: 1.44 MB / 0.6411 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/2.082, allocations: 12.03 kB / 0.6411 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/2.082, allocations: 32.55 kB / 0.6411 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/2.082, allocations: 173.4 kB / 0.6413 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/2.082, allocations: 17.72 kB / 0.6413 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/2.082, allocations: 20 kB / 0.6413 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/2.082, allocations: 319.9 kB / 0.6416 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/2.082, allocations: 0.6875 kB / 0.6416 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/2.082, allocations: 12.52 kB / 0.6416 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/2.082, allocations: 10.66 kB / 0.6417 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/2.083, allocations: 183.4 kB / 0.6418 GB, free: 6.051 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.03943/2.122, allocations: 11.28 MB / 0.6529 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/2.123, allocations: 126.6 kB / 0.653 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/2.123, allocations: 64.84 kB / 0.653 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1551/2.278, allocations: 42.5 MB / 0.6945 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/2.278, allocations: 35.19 kB / 0.6946 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/2.278, allocations: 0 / 0.6946 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009608/2.279, allocations: 346.5 kB / 0.6949 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/2.279, allocations: 77.11 kB / 0.695 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/2.279, allocations: 223.1 kB / 0.6952 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/2.279, allocations: 29.7 kB / 0.6952 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/2.279, allocations: 156.7 kB / 0.6954 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/2.279, allocations: 115 kB / 0.6955 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/2.28, allocations: 58.2 kB / 0.6955 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001591/2.28, allocations: 338.8 kB / 0.6959 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/2.28, allocations: 83.97 kB / 0.6959 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/2.28, allocations: 128.9 kB / 0.6961 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/2.28, allocations: 233.6 kB / 0.6963 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.28, allocations: 0 / 0.6963 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005003/2.281, allocations: 308 kB / 0.6966 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/2.281, allocations: 4.844 kB / 0.6966 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/2.281, allocations: 3.938 kB / 0.6966 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/2.282, allocations: 140.8 kB / 0.6967 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/2.282, allocations: 15.98 kB / 0.6967 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006083/2.283, allocations: 0.6155 MB / 0.6973 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/2.283, allocations: 27.77 kB / 0.6974 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/2.283, allocations: 12 kB / 0.6974 GB, free: 12.84 MB / 0.5606 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.0001423/2.283, allocations: 130.9 kB / 0.6975 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/2.283, allocations: 24.59 kB / 0.6975 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/2.284, allocations: 0.6047 MB / 0.6981 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005829/2.285, allocations: 220.9 kB / 0.6983 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.285, allocations: 0 / 0.6983 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/2.285, allocations: 0 / 0.6983 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/2.286, allocations: 0.7099 MB / 0.699 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/2.286, allocations: 5.25 kB / 0.699 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/2.286, allocations: 23.92 kB / 0.699 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/2.286, allocations: 112.7 kB / 0.6992 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/2.286, allocations: 4 kB / 0.6992 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005741/2.287, allocations: 0.6383 MB / 0.6998 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/2.287, allocations: 0 / 0.6998 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/2.288, allocations: 356.2 kB / 0.7001 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/2.288, allocations: 31.78 kB / 0.7001 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/2.288, allocations: 8.734 kB / 0.7002 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/2.288, allocations: 5 kB / 0.7002 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/2.288, allocations: 7.984 kB / 0.7002 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/2.288, allocations: 8 kB / 0.7002 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002725/2.288, allocations: 239.1 kB / 0.7004 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.288, allocations: 0 / 0.7004 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003198/2.291, allocations: 1.231 MB / 0.7016 GB, free: 8.32 MB / 0.5606 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.005139/2.296, allocations: 1.773 MB / 0.7033 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007318/2.297, allocations: 226.8 kB / 0.7036 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/2.297, allocations: 8.312 kB / 0.7036 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/2.297, allocations: 91.81 kB / 0.7037 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/2.298, allocations: 126.9 kB / 0.7038 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/2.299, allocations: 0.5148 MB / 0.7043 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/2.3, allocations: 0.7636 MB / 0.705 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001086/2.3, allocations: 33.34 kB / 0.7051 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/2.3, allocations: 19.44 kB / 0.7051 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/2.3, allocations: 0 / 0.7051 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.06135/2.361, allocations: 43.16 MB / 0.7472 GB, free: 10.06 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.498533644713461] Failed to read output from testmodel.py, exit status != 0: 2.5171999987214804 2.748079115 0.668227266 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd01b74d7b0>