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.8555/0.8555, allocations: 153.8 MB / 173.4 MB, free: 4.883 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.0005369/0.0005369, allocations: 11.97 kB / 251 MB, free: 3.891 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1555, allocations: 33.36 MB / 284.4 MB, free: 2.062 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.889/2.045, allocations: 307.6 MB / 0.5781 GB, free: 17.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2065/2.251, allocations: 167.1 MB / 0.7413 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/2.252, allocations: 11.94 kB / 0.7413 GB, free: 13.98 MB / 0.6075 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.0001812/2.252, allocations: 48.08 kB / 0.7414 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004151/2.252, allocations: 111 kB / 0.7415 GB, free: 13.82 MB / 0.6075 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.03304/2.285, allocations: 12.26 MB / 0.7534 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007411/2.286, allocations: 406.8 kB / 0.7538 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/2.286, allocations: 176.9 kB / 0.754 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/2.287, allocations: 179.3 kB / 0.7542 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/2.287, allocations: 151.2 kB / 0.7543 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/2.287, allocations: 36 kB / 0.7544 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03703/2.324, allocations: 19.61 MB / 0.7735 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/2.324, allocations: 91.67 kB / 0.7736 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/2.324, allocations: 159.2 kB / 0.7737 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02254/2.347, allocations: 10.4 MB / 0.7839 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/2.347, allocations: 7.922 kB / 0.7839 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/2.347, allocations: 0 / 0.7839 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.826e-06/2.347, allocations: 0 / 0.7839 GB, free: 2.305 MB / 0.6387 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.00482/2.352, allocations: 1.895 MB / 0.7858 GB, free: 376 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/2.352, allocations: 8.031 kB / 0.7858 GB, free: 368 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/2.352, allocations: 47.72 kB / 0.7858 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/2.352, allocations: 267.4 kB / 0.7861 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/2.352, allocations: 29.05 kB / 0.7861 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/2.352, allocations: 32 kB / 0.7861 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/2.353, allocations: 404.3 kB / 0.7865 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/2.353, allocations: 5.625 kB / 0.7865 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/2.353, allocations: 16 kB / 0.7865 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/2.353, allocations: 12 kB / 0.7865 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/2.354, allocations: 247.3 kB / 0.7868 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007721/2.361, allocations: 3.185 MB / 0.7899 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/2.362, allocations: 74.62 kB / 0.79 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/2.362, allocations: 20.86 kB / 0.79 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4829/2.844, allocations: 88.7 MB / 0.8766 GB, free: 281.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/2.844, allocations: 38.44 kB / 0.8766 GB, free: 281.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/2.844, allocations: 0 / 0.8766 GB, free: 281.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0007048/2.845, allocations: 176.8 kB / 0.8768 GB, free: 281.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/2.845, allocations: 77.11 kB / 0.8769 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/2.846, allocations: 314.5 kB / 0.8772 GB, free: 281.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/2.846, allocations: 34.8 kB / 0.8772 GB, free: 281.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/2.846, allocations: 240.4 kB / 0.8774 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/2.846, allocations: 26.11 kB / 0.8775 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/2.846, allocations: 72.59 kB / 0.8775 GB, free: 280.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.911e-05/2.846, allocations: 333.9 kB / 0.8779 GB, free: 280.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/2.846, allocations: 49.89 kB / 0.8779 GB, free: 280.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/2.846, allocations: 182.8 kB / 0.8781 GB, free: 280.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/2.846, allocations: 210.5 kB / 0.8783 GB, free: 280.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/2.846, allocations: 0.6562 kB / 0.8783 GB, free: 280.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004347/2.847, allocations: 280.3 kB / 0.8786 GB, free: 279.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/2.847, allocations: 7.984 kB / 0.8786 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.847, allocations: 7.938 kB / 0.8786 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/2.848, allocations: 119.8 kB / 0.8787 GB, free: 279.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/2.848, allocations: 43.91 kB / 0.8787 GB, free: 279.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/2.848, allocations: 0.5568 MB / 0.8793 GB, free: 279.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/2.848, allocations: 30.56 kB / 0.8793 GB, free: 279.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/2.848, allocations: 16.06 kB / 0.8793 GB, free: 279.1 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.0001495/2.848, allocations: 163.8 kB / 0.8795 GB, free: 278.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/2.848, allocations: 27.81 kB / 0.8795 GB, free: 278.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/2.849, allocations: 173.6 kB / 0.8797 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/2.849, allocations: 4.875 kB / 0.8797 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/2.849, allocations: 0 / 0.8797 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/2.849, allocations: 0 / 0.8797 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/2.849, allocations: 223.1 kB / 0.8799 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/2.849, allocations: 0 / 0.8799 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/2.849, allocations: 12.25 kB / 0.8799 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/2.85, allocations: 76.09 kB / 0.88 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/2.85, allocations: 4 kB / 0.88 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002798/2.85, allocations: 0.5695 MB / 0.8805 GB, free: 277.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.85, allocations: 3.938 kB / 0.8805 GB, free: 277.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/2.85, allocations: 172.2 kB / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/2.85, allocations: 42.44 kB / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/2.85, allocations: 4.016 kB / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/2.851, allocations: 11.92 kB / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/2.851, allocations: 0 / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/2.851, allocations: 4 kB / 0.8807 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001639/2.851, allocations: 210.5 kB / 0.8809 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/2.851, allocations: 0 / 0.8809 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003264/2.854, allocations: 1.637 MB / 0.8825 GB, free: 276.3 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.005503/2.86, allocations: 2.48 MB / 0.885 GB, free: 274.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004507/2.86, allocations: 125 kB / 0.8851 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.86, allocations: 4.75 kB / 0.8851 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/2.86, allocations: 34.28 kB / 0.8851 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/2.86, allocations: 72.53 kB / 0.8852 GB, free: 274.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/2.861, allocations: 0.5401 MB / 0.8857 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/2.861, allocations: 169.5 kB / 0.8859 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/2.861, allocations: 28.62 kB / 0.8859 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of SimCode: time 4.2e-07/2.861, allocations: 0 / 0.8859 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.03404/2.895, allocations: 31.26 MB / 0.9164 GB, free: 242.8 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: 12.233281531371176] Failed to read output from testmodel.py, exit status != 0: 3.0199828636832535 3.029109555 0.679847476 Calling exit ...