Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 106.2 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8496/0.8496, allocations: 93.73 MB / 391 MB, free: 4.625 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003741/0.003742, allocations: 87.61 kB / 0.5285 GB, free: 41.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1665, allocations: 68.28 MB / 0.5951 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1901/0.3566, allocations: 143.8 MB / 0.7356 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.3625, allocations: 3.61 MB / 0.7391 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.3631, allocations: 19.88 kB / 0.7391 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.3639, allocations: 170.8 kB / 0.7393 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.3652, allocations: 393.7 kB / 0.7396 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3662, allocations: 287 kB / 0.7399 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.3671, allocations: 0.5212 MB / 0.7404 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3674, allocations: 85.7 kB / 0.7405 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.368, allocations: 254.9 kB / 0.7408 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.3684, allocations: 235 kB / 0.741 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.3684, allocations: 24 kB / 0.741 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.3697, allocations: 495 kB / 0.7415 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3698, allocations: 71.69 kB / 0.7415 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.37, allocations: 175 kB / 0.7417 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3711, allocations: 0.5486 MB / 0.7422 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3711, allocations: 0 / 0.7422 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3711, allocations: 0 / 0.7422 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3711, allocations: 0 / 0.7422 GB, free: 1.078 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001492/0.3726, allocations: 0.7611 MB / 0.743 GB, free: 268 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3727, allocations: 12.03 kB / 0.743 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.3728, allocations: 50.73 kB / 0.743 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.3729, allocations: 48.66 kB / 0.7431 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3144/0.6873, allocations: 388.8 kB / 0.7435 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.6873, allocations: 15.84 kB / 0.7435 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.6874, allocations: 22.39 kB / 0.7435 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.6879, allocations: 262.3 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.688, allocations: 0 / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.688, allocations: 11.23 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.688, allocations: 5.344 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.6886, allocations: 224.5 kB / 0.744 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.6906, allocations: 1.097 MB / 0.7451 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.6913, allocations: 221.7 kB / 0.7453 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.6916, allocations: 114.4 kB / 0.7454 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.6929, allocations: 0.9773 MB / 0.7463 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.6934, allocations: 149.9 kB / 0.7465 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.705e-06/0.6934, allocations: 0.5312 kB / 0.7465 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.00133/0.6947, allocations: 471.4 kB / 0.7469 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6948, allocations: 55.67 kB / 0.747 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.6952, allocations: 345.8 kB / 0.7473 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6953, allocations: 31.02 kB / 0.7473 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6954, allocations: 201 kB / 0.7475 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.6955, allocations: 80.3 kB / 0.7476 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.6956, allocations: 53.77 kB / 0.7477 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.6957, allocations: 346.5 kB / 0.748 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.696, allocations: 80.09 kB / 0.7481 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.6962, allocations: 114.7 kB / 0.7482 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.6968, allocations: 223.1 kB / 0.7484 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6968, allocations: 0 / 0.7484 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007494/0.6975, allocations: 347.4 kB / 0.7487 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.6976, allocations: 32.53 kB / 0.7487 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6976, allocations: 1.688 kB / 0.7487 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.6979, allocations: 44.09 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.6981, allocations: 49.19 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.6992, allocations: 1.531 MB / 0.7503 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.6994, allocations: 22.77 kB / 0.7504 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.6995, allocations: 10.8 kB / 0.7504 GB, free: 146.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.6997, allocations: 160.7 kB / 0.7505 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.6997, allocations: 36.91 kB / 0.7506 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/0.7005, allocations: 334.3 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.7005, allocations: 9.625 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.7005, allocations: 2.031 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.7006, allocations: 1.672 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7018, allocations: 0.7487 MB / 0.7516 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7018, allocations: 0 / 0.7516 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.702, allocations: 42.45 kB / 0.7517 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.7022, allocations: 41.75 kB / 0.7517 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.7022, allocations: 9.875 kB / 0.7517 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009484/0.7031, allocations: 1.531 MB / 0.7532 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7032, allocations: 6.25 kB / 0.7532 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7042, allocations: 0.4948 MB / 0.7537 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.7043, allocations: 112.7 kB / 0.7538 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.7044, allocations: 6.891 kB / 0.7538 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.7046, allocations: 15.5 kB / 0.7538 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7047, allocations: 33.12 kB / 0.7538 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.7047, allocations: 11.2 kB / 0.7539 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003288/0.7051, allocations: 245.2 kB / 0.7541 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7051, allocations: 0 / 0.7541 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006584/0.7058, allocations: 132.6 kB / 0.7542 GB, free: 143.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/0.7074, allocations: 1.145 MB / 0.7553 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009423/0.7083, allocations: 402.9 kB / 0.7557 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7084, allocations: 0 / 0.7557 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.7088, allocations: 248.3 kB / 0.756 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.7096, allocations: 112.2 kB / 0.7561 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.7152, allocations: 3.237 MB / 0.7592 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.7154, allocations: 0.786 MB / 0.76 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.7158, allocations: 59.47 kB / 0.7601 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.716, allocations: 124.9 kB / 0.7602 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.716, allocations: 0 / 0.7602 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.7564, allocations: 10.34 MB / 0.7703 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.51, allocations: 6.5 kB / 0.7703 GB, free: 129.6 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 15.354790179990232] Failed to read output from testmodel.py, exit status != 0: 11.602577490033582 11.619979424 11.245564983 Calling exit ...