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.552/0.552, allocations: 120.4 MB / 140.2 MB, free: 12.99 MB / 138.7 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 2.835e-06/2.835e-06, allocations: 1.656 kB / 218 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.689e-05, allocations: 4.688 kB / 218 MB, free: 8.629 MB / 202.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 0.9898/0.9898, allocations: 254.3 MB / 472.3 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3938/1.384, allocations: 167.1 MB / 0.6244 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/1.384, allocations: 19.88 kB / 0.6245 GB, free: 8.82 MB / 0.5573 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.0001191/1.384, allocations: 39.58 kB / 0.6245 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/1.384, allocations: 122.9 kB / 0.6246 GB, free: 8.66 MB / 0.5573 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.0258/1.41, allocations: 12.39 MB / 0.6367 GB, free: 12.27 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/1.411, allocations: 418.6 kB / 0.6371 GB, free: 11.86 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/1.411, allocations: 177 kB / 0.6373 GB, free: 11.69 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/1.411, allocations: 263.4 kB / 0.6375 GB, free: 11.43 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/1.411, allocations: 119.7 kB / 0.6377 GB, free: 11.31 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/1.411, allocations: 36 kB / 0.6377 GB, free: 11.28 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02732/1.439, allocations: 19.65 MB / 0.6569 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/1.439, allocations: 95.66 kB / 0.657 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/1.439, allocations: 131.7 kB / 0.6571 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02171/1.461, allocations: 13.04 MB / 0.6698 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.461, allocations: 0 / 0.6698 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/1.461, allocations: 0 / 0.6698 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.461, allocations: 0.75 kB / 0.6698 GB, free: 10.3 MB / 0.6042 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.00426/1.465, allocations: 1.903 MB / 0.6717 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.465, allocations: 8.031 kB / 0.6717 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/1.465, allocations: 51.72 kB / 0.6717 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/1.465, allocations: 252 kB / 0.672 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/1.466, allocations: 29 kB / 0.672 GB, free: 8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/1.466, allocations: 35.94 kB / 0.6721 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/1.466, allocations: 404.3 kB / 0.6724 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.466, allocations: 0.8438 kB / 0.6724 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/1.466, allocations: 16 kB / 0.6725 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.466, allocations: 12.62 kB / 0.6725 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/1.466, allocations: 246.4 kB / 0.6727 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/1.47, allocations: 3.196 MB / 0.6758 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.471, allocations: 71.64 kB / 0.6759 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/1.471, allocations: 25.42 kB / 0.6759 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3241/1.795, allocations: 88.68 MB / 0.7625 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.795, allocations: 46.62 kB / 0.7626 GB, free: 291.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/1.795, allocations: 0.5625 kB / 0.7626 GB, free: 291.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0005955/1.795, allocations: 178.7 kB / 0.7627 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.795, allocations: 77.11 kB / 0.7628 GB, free: 291.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.796, allocations: 310.9 kB / 0.7631 GB, free: 291.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/1.796, allocations: 29.7 kB / 0.7631 GB, free: 291.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/1.796, allocations: 242.6 kB / 0.7634 GB, free: 291 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/1.796, allocations: 31.36 kB / 0.7634 GB, free: 291 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/1.796, allocations: 70.59 kB / 0.7635 GB, free: 290.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/1.796, allocations: 330.8 kB / 0.7638 GB, free: 290.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/1.796, allocations: 53.06 kB / 0.7638 GB, free: 290.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/1.796, allocations: 188.5 kB / 0.764 GB, free: 290.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/1.796, allocations: 209.2 kB / 0.7642 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.796, allocations: 0.875 kB / 0.7642 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000309/1.797, allocations: 275 kB / 0.7645 GB, free: 289.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.797, allocations: 8.656 kB / 0.7645 GB, free: 289.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.797, allocations: 4 kB / 0.7645 GB, free: 289.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/1.797, allocations: 109.5 kB / 0.7646 GB, free: 289.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/1.797, allocations: 39.92 kB / 0.7646 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002668/1.797, allocations: 0.5724 MB / 0.7652 GB, free: 289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/1.797, allocations: 31.02 kB / 0.7652 GB, free: 289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/1.798, allocations: 8.984 kB / 0.7652 GB, free: 289 MB / 0.6667 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.0001145/1.798, allocations: 162.4 kB / 0.7654 GB, free: 288.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/1.798, allocations: 27.86 kB / 0.7654 GB, free: 288.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/1.798, allocations: 177.3 kB / 0.7656 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.798, allocations: 4 kB / 0.7656 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.798, allocations: 0 / 0.7656 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/1.798, allocations: 0 / 0.7656 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/1.798, allocations: 227.1 kB / 0.7658 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.798, allocations: 0.7656 kB / 0.7658 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/1.798, allocations: 8.75 kB / 0.7658 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/1.798, allocations: 84.02 kB / 0.7659 GB, free: 288.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.798, allocations: 0 / 0.7659 GB, free: 288.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000175/1.799, allocations: 0.5718 MB / 0.7664 GB, free: 287.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.799, allocations: 0 / 0.7664 GB, free: 287.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/1.799, allocations: 165.6 kB / 0.7666 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/1.799, allocations: 39.83 kB / 0.7666 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/1.799, allocations: 9.484 kB / 0.7666 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/1.799, allocations: 4.844 kB / 0.7667 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/1.799, allocations: 7.984 kB / 0.7667 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/1.799, allocations: 4.828 kB / 0.7667 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001104/1.799, allocations: 211.1 kB / 0.7669 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.799, allocations: 0 / 0.7669 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002787/1.802, allocations: 1.639 MB / 0.7685 GB, free: 285.9 MB / 0.6667 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.004019/1.806, allocations: 2.706 MB / 0.7711 GB, free: 283.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002852/1.806, allocations: 124.3 kB / 0.7712 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.806, allocations: 4.062 kB / 0.7712 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/1.806, allocations: 39.91 kB / 0.7713 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/1.806, allocations: 70.11 kB / 0.7713 GB, free: 283.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/1.807, allocations: 0.5151 MB / 0.7718 GB, free: 282.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/1.807, allocations: 180 kB / 0.772 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/1.807, allocations: 24.5 kB / 0.772 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of SimCode: time 7.61e-07/1.807, allocations: 0 / 0.772 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.02693/1.834, allocations: 31.55 MB / 0.8028 GB, free: 251.3 MB / 0.6667 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.047502107918262] Failed to read output from testmodel.py, exit status != 0: 2.050873674452305 1.968924964 0.506845144 Calling exit ...