Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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.5485/0.5485, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 218 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.732e-05, allocations: 7.969 kB / 218 MB, free: 8.625 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.TestDynamicCheckValve): time 0.9584/0.9584, allocations: 254.6 MB / 472.5 MB, free: 8.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3921/1.351, allocations: 165.2 MB / 0.6228 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/1.351, allocations: 11.88 kB / 0.6228 GB, free: 10.54 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/DynamicCheckValve.mo:56:3-57: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/DynamicCheckValve.mo:58:3-59: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.0002475/1.351, allocations: 59.44 kB / 0.6228 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/1.351, allocations: 158.7 kB / 0.623 GB, free: 10.32 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.02366/1.375, allocations: 11.76 MB / 0.6345 GB, free: 14.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006589/1.376, allocations: 0.5063 MB / 0.635 GB, free: 14.05 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/1.376, allocations: 211.6 kB / 0.6352 GB, free: 13.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/1.376, allocations: 315.2 kB / 0.6355 GB, free: 13.53 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/1.377, allocations: 167.5 kB / 0.6356 GB, free: 13.37 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/1.377, allocations: 40 kB / 0.6357 GB, free: 13.33 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02392/1.401, allocations: 18.66 MB / 0.6539 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/1.401, allocations: 115.6 kB / 0.654 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/1.401, allocations: 151.6 kB / 0.6541 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.421, allocations: 12.44 MB / 0.6663 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.421, allocations: 0 / 0.6663 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/1.421, allocations: 0.75 kB / 0.6663 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.421, allocations: 0 / 0.6663 GB, free: 13.91 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.003886/1.425, allocations: 1.927 MB / 0.6682 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.425, allocations: 8.031 kB / 0.6682 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/1.425, allocations: 71.61 kB / 0.6683 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/1.426, allocations: 296.8 kB / 0.6685 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/1.426, allocations: 84.41 kB / 0.6686 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/1.426, allocations: 36 kB / 0.6686 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/1.426, allocations: 410.5 kB / 0.669 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.426, allocations: 0 / 0.669 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/1.426, allocations: 16 kB / 0.6691 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/1.426, allocations: 15.94 kB / 0.6691 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/1.427, allocations: 282.3 kB / 0.6693 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.428, allocations: 1.211 MB / 0.6705 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/1.428, allocations: 217.7 kB / 0.6707 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/1.428, allocations: 68.83 kB / 0.6708 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.111/1.539, allocations: 69.09 MB / 0.7383 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/1.54, allocations: 135.2 kB / 0.7384 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/1.54, allocations: 0 / 0.7384 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0008466/1.54, allocations: 327.2 kB / 0.7387 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.54, allocations: 55.41 kB / 0.7388 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/1.541, allocations: 357.5 kB / 0.7391 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/1.541, allocations: 37.64 kB / 0.7391 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.541, allocations: 256.3 kB / 0.7394 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/1.541, allocations: 71.95 kB / 0.7395 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/1.541, allocations: 81.92 kB / 0.7395 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/1.541, allocations: 342.8 kB / 0.7399 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/1.541, allocations: 76.61 kB / 0.7399 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.541, allocations: 178.6 kB / 0.7401 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/1.542, allocations: 260.6 kB / 0.7404 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.542, allocations: 4.75 kB / 0.7404 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005135/1.542, allocations: 385.7 kB / 0.7407 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.542, allocations: 8.438 kB / 0.7407 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.542, allocations: 4.938 kB / 0.7407 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/1.543, allocations: 176.9 kB / 0.7409 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/1.543, allocations: 56.53 kB / 0.741 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1825/1.725, allocations: 2.237 MB / 0.7431 GB, free: 304 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/1.726, allocations: 44.2 kB / 0.7432 GB, free: 304 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.726, allocations: 17.3 kB / 0.7432 GB, free: 304 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001996/1.726, allocations: 169.1 kB / 0.7434 GB, free: 303.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.726, allocations: 36 kB / 0.7434 GB, free: 303.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/1.726, allocations: 314.4 kB / 0.7437 GB, free: 303.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.726, allocations: 8.469 kB / 0.7437 GB, free: 303.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/1.726, allocations: 0.8438 kB / 0.7437 GB, free: 303.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.726, allocations: 1.125 kB / 0.7437 GB, free: 303.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/1.727, allocations: 288.5 kB / 0.744 GB, free: 303.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.727, allocations: 1.281 kB / 0.744 GB, free: 303.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/1.727, allocations: 47 kB / 0.744 GB, free: 303.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/1.727, allocations: 79.28 kB / 0.7441 GB, free: 303.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.727, allocations: 8.641 kB / 0.7441 GB, free: 303.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001894/1.727, allocations: 0.5587 MB / 0.7447 GB, free: 303.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.727, allocations: 3.922 kB / 0.7447 GB, free: 303.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/1.728, allocations: 384.2 kB / 0.745 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/1.728, allocations: 62.27 kB / 0.7451 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.728, allocations: 9.5 kB / 0.7451 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/1.728, allocations: 17.8 kB / 0.7451 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/1.728, allocations: 28.62 kB / 0.7451 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/1.728, allocations: 7.25 kB / 0.7451 GB, free: 303.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001528/1.728, allocations: 248.4 kB / 0.7454 GB, free: 302.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.728, allocations: 0 / 0.7454 GB, free: 302.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00297/1.731, allocations: 1.503 MB / 0.7469 GB, free: 302.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.omega,checkValve.theta) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.003505/1.735, allocations: 2.407 MB / 0.7492 GB, free: 302.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000497/1.735, allocations: 343.7 kB / 0.7495 GB, free: 302.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.735, allocations: 0.6562 kB / 0.7495 GB, free: 302.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/1.735, allocations: 107.9 kB / 0.7496 GB, free: 302.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/1.735, allocations: 78.17 kB / 0.7497 GB, free: 302.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/1.736, allocations: 0.778 MB / 0.7505 GB, free: 302 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/1.737, allocations: 215.5 kB / 0.7507 GB, free: 301.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/1.737, allocations: 32.69 kB / 0.7507 GB, free: 301.9 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.737, allocations: 0.9844 kB / 0.7507 GB, free: 301.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.02526/1.762, allocations: 31.36 MB / 0.7813 GB, free: 272.4 MB / 0.6667 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.407579096965492] Failed to read output from testmodel.py, exit status != 0: 1.992754129692912 1.907964028 0.48526747899999995 Calling exit ...