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 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 1.162/1.162, allocations: 152.6 MB / 171.4 MB, free: 6.004 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.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.0005298/0.0005298, allocations: 19.92 kB / 248.5 MB, free: 5.641 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.147, allocations: 33.05 MB / 281.6 MB, free: 3.562 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.52/1.667, allocations: 301.2 MB / 0.5691 GB, free: 5.523 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4203/2.087, allocations: 190.8 MB / 0.7554 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/2.087, allocations: 19.81 kB / 0.7554 GB, free: 1.402 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47: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 4.0.0-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 4.0.0-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.0001179/2.087, allocations: 39.58 kB / 0.7555 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/2.088, allocations: 112.2 kB / 0.7556 GB, free: 1.254 MB / 0.6075 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.03068/2.118, allocations: 12.43 MB / 0.7677 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/2.119, allocations: 406.8 kB / 0.7681 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/2.119, allocations: 169 kB / 0.7683 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/2.119, allocations: 171.4 kB / 0.7684 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/2.12, allocations: 175.3 kB / 0.7686 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/2.12, allocations: 32 kB / 0.7686 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03716/2.157, allocations: 21.11 MB / 0.7892 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/2.157, allocations: 71.78 kB / 0.7893 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/2.157, allocations: 191.1 kB / 0.7895 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02214/2.179, allocations: 10.38 MB / 0.7996 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/2.179, allocations: 0 / 0.7996 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/2.179, allocations: 0 / 0.7996 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.115e-06/2.179, allocations: 0 / 0.7996 GB, free: 4.086 MB / 0.6544 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.004535/2.184, allocations: 1.877 MB / 0.8014 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/2.184, allocations: 12.03 kB / 0.8015 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/2.184, allocations: 43.75 kB / 0.8015 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/2.184, allocations: 240.5 kB / 0.8017 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/2.184, allocations: 29.5 kB / 0.8018 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/2.184, allocations: 35.94 kB / 0.8018 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/2.185, allocations: 379.5 kB / 0.8022 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/2.185, allocations: 9.281 kB / 0.8022 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/2.185, allocations: 16 kB / 0.8022 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/2.185, allocations: 8 kB / 0.8022 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/2.186, allocations: 242.5 kB / 0.8024 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008164/2.194, allocations: 3.831 MB / 0.8062 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/2.194, allocations: 74.59 kB / 0.8062 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/2.194, allocations: 20.89 kB / 0.8063 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4459/2.64, allocations: 86.45 MB / 0.8907 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/2.64, allocations: 38.5 kB / 0.8907 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/2.64, allocations: 0 / 0.8907 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0007073/2.641, allocations: 181.6 kB / 0.8909 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/2.641, allocations: 86.45 kB / 0.891 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/2.641, allocations: 284.2 kB / 0.8912 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/2.641, allocations: 26.89 kB / 0.8913 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/2.641, allocations: 246.2 kB / 0.8915 GB, free: 273.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/2.641, allocations: 36.25 kB / 0.8915 GB, free: 273.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/2.641, allocations: 60.02 kB / 0.8916 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/2.641, allocations: 334.4 kB / 0.8919 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/2.641, allocations: 44.33 kB / 0.8919 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/2.641, allocations: 159.6 kB / 0.8921 GB, free: 272.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/2.642, allocations: 206 kB / 0.8923 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.642, allocations: 0 / 0.8923 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004372/2.642, allocations: 281.1 kB / 0.8926 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/2.642, allocations: 16 kB / 0.8926 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/2.642, allocations: 4 kB / 0.8926 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/2.643, allocations: 100.7 kB / 0.8927 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/2.643, allocations: 47.62 kB / 0.8927 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003156/2.643, allocations: 0.5639 MB / 0.8933 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/2.644, allocations: 39.3 kB / 0.8933 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/2.644, allocations: 12 kB / 0.8933 GB, free: 271.4 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.0001076/2.644, allocations: 147.6 kB / 0.8935 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/2.644, allocations: 23.92 kB / 0.8935 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/2.644, allocations: 174.7 kB / 0.8937 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/2.644, allocations: 0 / 0.8937 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/2.644, allocations: 0 / 0.8937 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/2.644, allocations: 3.984 kB / 0.8937 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/2.645, allocations: 282.6 kB / 0.8939 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.645, allocations: 4 kB / 0.8939 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/2.645, allocations: 7.984 kB / 0.8939 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/2.645, allocations: 77.75 kB / 0.894 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/2.645, allocations: 4 kB / 0.894 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002971/2.645, allocations: 0.5745 MB / 0.8946 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/2.645, allocations: 1.688 kB / 0.8946 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/2.646, allocations: 168 kB / 0.8947 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/2.646, allocations: 34.36 kB / 0.8948 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/2.646, allocations: 7.938 kB / 0.8948 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/2.646, allocations: 3 kB / 0.8948 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/2.646, allocations: 7.984 kB / 0.8948 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/2.646, allocations: 4 kB / 0.8948 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001555/2.646, allocations: 207.1 kB / 0.895 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.646, allocations: 0 / 0.895 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002984/2.649, allocations: 1.626 MB / 0.8966 GB, free: 268.2 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.005203/2.654, allocations: 2.497 MB / 0.899 GB, free: 266.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004032/2.655, allocations: 128.1 kB / 0.8991 GB, free: 266 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.655, allocations: 4.062 kB / 0.8991 GB, free: 266 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/2.655, allocations: 38.98 kB / 0.8992 GB, free: 266 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/2.655, allocations: 67.88 kB / 0.8992 GB, free: 265.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/2.656, allocations: 466.1 kB / 0.8997 GB, free: 265.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/2.656, allocations: 0.7664 MB / 0.9004 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001186/2.656, allocations: 40.94 kB / 0.9005 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/2.656, allocations: 27.44 kB / 0.9005 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of SimCode: time 3.5e-07/2.656, allocations: 0 / 0.9005 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.04699/2.703, allocations: 48.86 MB / 0.9482 GB, free: 216.3 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: 9.187335199676454] Failed to read output from testmodel.py, exit status != 0: 2.8144481237977743 2.822975834 0.641522248 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6bf956d7b0>