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.8867/0.8867, allocations: 153.8 MB / 173.4 MB, free: 4.871 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.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 0.0005517/0.0005517, allocations: 11.97 kB / 251 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 33.36 MB / 284.4 MB, free: 2.039 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.TestDynamicCheckValve): time 1.916/2.083, allocations: 307.8 MB / 0.5784 GB, free: 17.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2105/2.294, allocations: 165.1 MB / 0.7396 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/2.294, allocations: 7.938 kB / 0.7396 GB, free: 15.66 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/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.0002974/2.295, allocations: 60.7 kB / 0.7397 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005492/2.295, allocations: 158.7 kB / 0.7398 GB, free: 15.44 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.03033/2.325, allocations: 11.64 MB / 0.7512 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007596/2.326, allocations: 0.4949 MB / 0.7517 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/2.326, allocations: 213.2 kB / 0.7519 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/2.327, allocations: 219.2 kB / 0.7521 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/2.327, allocations: 200.2 kB / 0.7523 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/2.327, allocations: 43.94 kB / 0.7523 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03488/2.362, allocations: 18.62 MB / 0.7705 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/2.362, allocations: 111.5 kB / 0.7706 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/2.363, allocations: 195 kB / 0.7708 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02281/2.385, allocations: 9.887 MB / 0.7805 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/2.385, allocations: 3.938 kB / 0.7805 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/2.385, allocations: 0 / 0.7805 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.716e-06/2.385, allocations: 0 / 0.7805 GB, free: 5.777 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004955/2.39, allocations: 1.927 MB / 0.7823 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/2.39, allocations: 8.031 kB / 0.7824 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/2.391, allocations: 71.61 kB / 0.7824 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/2.391, allocations: 296.7 kB / 0.7827 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.695e-05/2.391, allocations: 90.41 kB / 0.7828 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/2.391, allocations: 40 kB / 0.7828 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/2.392, allocations: 408.8 kB / 0.7832 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/2.392, allocations: 0 / 0.7832 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/2.392, allocations: 16 kB / 0.7832 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/2.392, allocations: 8 kB / 0.7832 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/2.393, allocations: 283.2 kB / 0.7835 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/2.394, allocations: 1.22 MB / 0.7847 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/2.395, allocations: 207.3 kB / 0.7849 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/2.395, allocations: 78.16 kB / 0.785 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4155/2.811, allocations: 69.08 MB / 0.8524 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/2.811, allocations: 141 kB / 0.8526 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/2.811, allocations: 2.062 kB / 0.8526 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0008763/2.812, allocations: 330.9 kB / 0.8529 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/2.812, allocations: 59.19 kB / 0.8529 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/2.812, allocations: 353.3 kB / 0.8533 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/2.812, allocations: 29.48 kB / 0.8533 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/2.812, allocations: 255.1 kB / 0.8536 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/2.812, allocations: 76.28 kB / 0.8536 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/2.812, allocations: 79.38 kB / 0.8537 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/2.813, allocations: 341.4 kB / 0.854 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/2.813, allocations: 84.03 kB / 0.8541 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/2.813, allocations: 178.2 kB / 0.8543 GB, free: 300.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/2.813, allocations: 265.1 kB / 0.8545 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/2.813, allocations: 0 / 0.8545 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007161/2.814, allocations: 385.8 kB / 0.8549 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/2.814, allocations: 6.688 kB / 0.8549 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/2.814, allocations: 5.25 kB / 0.8549 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/2.815, allocations: 170.2 kB / 0.8551 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/2.815, allocations: 50.44 kB / 0.8551 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/2.817, allocations: 2.253 MB / 0.8573 GB, free: 298.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/2.817, allocations: 48.36 kB / 0.8574 GB, free: 298.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/2.817, allocations: 20.48 kB / 0.8574 GB, free: 298.5 MB / 0.6856 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.0001431/2.817, allocations: 164.2 kB / 0.8575 GB, free: 298.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/2.817, allocations: 39.16 kB / 0.8576 GB, free: 298.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/2.818, allocations: 319.7 kB / 0.8579 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/2.818, allocations: 3.969 kB / 0.8579 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/2.818, allocations: 0.7656 kB / 0.8579 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/2.818, allocations: 4 kB / 0.8579 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/2.818, allocations: 281.2 kB / 0.8582 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/2.818, allocations: 3.938 kB / 0.8582 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/2.818, allocations: 42.62 kB / 0.8582 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/2.819, allocations: 77.31 kB / 0.8583 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/2.819, allocations: 7.672 kB / 0.8583 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002868/2.819, allocations: 0.5801 MB / 0.8589 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.819, allocations: 0 / 0.8589 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/2.82, allocations: 374 kB / 0.8592 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/2.82, allocations: 61.77 kB / 0.8593 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/2.82, allocations: 3.938 kB / 0.8593 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/2.82, allocations: 19.78 kB / 0.8593 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/2.82, allocations: 29.95 kB / 0.8593 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/2.82, allocations: 7.75 kB / 0.8593 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001854/2.82, allocations: 244 kB / 0.8596 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.82, allocations: 0 / 0.8596 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002716/2.823, allocations: 1.493 MB / 0.861 GB, free: 297.4 MB / 0.6856 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.004387/2.827, allocations: 2.222 MB / 0.8632 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006442/2.828, allocations: 345.5 kB / 0.8635 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/2.828, allocations: 256 / 0.8635 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/2.828, allocations: 104.9 kB / 0.8636 GB, free: 296 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/2.829, allocations: 85.12 kB / 0.8637 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/2.83, allocations: 0.8612 MB / 0.8645 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/2.83, allocations: 215 kB / 0.8647 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/2.83, allocations: 39.23 kB / 0.8648 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/2.83, allocations: 4.391 kB / 0.8648 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.03183/2.862, allocations: 31.09 MB / 0.8951 GB, free: 264.4 MB / 0.6856 GB " [Timeout remaining time 657] 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: 14.067540995776653] Failed to read output from testmodel.py, exit status != 0: 2.9878649809397757 2.996710478 0.609119575 Calling exit ...