Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001582/0.001582, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001813/0.001813, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.553/1.553, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.8604/0.8604, allocations: 93.72 MB / 390.9 MB, free: 4.605 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_dev_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 83.44 kB / 0.5285 GB, free: 40.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1585, allocations: 68.27 MB / 0.5951 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1905/0.3491, allocations: 143.8 MB / 0.7356 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005/0.3541, allocations: 3.618 MB / 0.7391 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.3545, allocations: 15.88 kB / 0.7391 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.3552, allocations: 166.9 kB / 0.7393 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009542/0.3562, allocations: 385.7 kB / 0.7396 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.357, allocations: 298.9 kB / 0.7399 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.3577, allocations: 0.5212 MB / 0.7404 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.3579, allocations: 85.7 kB / 0.7405 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.3584, allocations: 247 kB / 0.7408 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3588, allocations: 238.9 kB / 0.741 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.3588, allocations: 28 kB / 0.741 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3598, allocations: 487.1 kB / 0.7415 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.36, allocations: 75.62 kB / 0.7415 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3602, allocations: 175 kB / 0.7417 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.3611, allocations: 0.5487 MB / 0.7422 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3611, allocations: 0 / 0.7422 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3611, allocations: 4 kB / 0.7423 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3611, allocations: 0 / 0.7423 GB, free: 0.9219 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.001404/0.3626, allocations: 0.7571 MB / 0.743 GB, free: 112 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3626, allocations: 12.03 kB / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.3627, allocations: 50.73 kB / 0.7431 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3728/0.7355, allocations: 46.02 kB / 0.7431 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.7364, allocations: 388.5 kB / 0.7435 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.7364, allocations: 22.2 kB / 0.7435 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.7365, allocations: 20.97 kB / 0.7435 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.7371, allocations: 266.3 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.7371, allocations: 1.312 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.7371, allocations: 8.188 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.7372, allocations: 5.469 kB / 0.7438 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.7377, allocations: 222.5 kB / 0.744 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.7393, allocations: 1.094 MB / 0.7451 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.7399, allocations: 225.6 kB / 0.7453 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.7402, allocations: 113.2 kB / 0.7454 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009408/0.7411, allocations: 0.972 MB / 0.7463 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.7415, allocations: 158 kB / 0.7465 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.7416, allocations: 1.094 kB / 0.7465 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001288/0.7429, allocations: 465.1 kB / 0.7469 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.7429, allocations: 58.17 kB / 0.747 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.7434, allocations: 348.2 kB / 0.7473 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.7434, allocations: 31.52 kB / 0.7473 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.7436, allocations: 199.9 kB / 0.7475 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.7437, allocations: 79.2 kB / 0.7476 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.7438, allocations: 52.95 kB / 0.7477 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.7439, allocations: 346.8 kB / 0.748 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.7441, allocations: 83.98 kB / 0.7481 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.7444, allocations: 110.1 kB / 0.7482 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.7449, allocations: 225.6 kB / 0.7484 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7449, allocations: 0 / 0.7484 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007112/0.7456, allocations: 344.4 kB / 0.7487 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.7457, allocations: 38.56 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7457, allocations: 1.344 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.7459, allocations: 41.19 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.7462, allocations: 43.23 kB / 0.7488 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/0.7472, allocations: 1.531 MB / 0.7503 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.7474, allocations: 28.42 kB / 0.7504 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.7474, allocations: 8.469 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.0001581/0.7476, allocations: 157.5 kB / 0.7505 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.7476, allocations: 34.95 kB / 0.7505 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007867/0.7484, allocations: 339.6 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7485, allocations: 4.125 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7485, allocations: 0 / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.7485, allocations: 7.422 kB / 0.7509 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.7496, allocations: 0.7466 MB / 0.7516 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7496, allocations: 3.812 kB / 0.7516 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.7498, allocations: 44.38 kB / 0.7517 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.75, allocations: 41.08 kB / 0.7517 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.75, allocations: 13.45 kB / 0.7517 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00089/0.7509, allocations: 1.529 MB / 0.7532 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7509, allocations: 0.8438 kB / 0.7532 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.7519, allocations: 0.4944 MB / 0.7537 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.752, allocations: 114 kB / 0.7538 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.752, allocations: 12 kB / 0.7538 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.7522, allocations: 17.86 kB / 0.7538 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.7523, allocations: 29.11 kB / 0.7539 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.7524, allocations: 11.83 kB / 0.7539 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002814/0.7526, allocations: 242.1 kB / 0.7541 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7527, allocations: 0 / 0.7541 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005668/0.7532, allocations: 130.3 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.001376/0.7546, allocations: 1.152 MB / 0.7553 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.7555, allocations: 399.1 kB / 0.7557 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7555, allocations: 0 / 0.7557 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.7559, allocations: 244.9 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.0006714/0.7566, allocations: 117.9 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.00512/0.7617, allocations: 3.232 MB / 0.7592 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.762, allocations: 0.7896 MB / 0.76 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.7623, allocations: 50.78 kB / 0.76 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.7625, allocations: 128.8 kB / 0.7602 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.7625, allocations: 0.5312 kB / 0.7602 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.8023, allocations: 10.35 MB / 0.7703 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.77, allocations: 7.938 kB / 0.7703 GB, free: 129.5 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 15.62908591190353] Failed to read output from testmodel.py, exit status != 0: 11.853752597933635 11.862823255 11.499675249 Calling exit ...