Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.00183/0.00183, allocations: 110 kB / 16.45 MB, free: 6.035 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.002023/0.002023, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.756/0.756, allocations: 94.6 MB / 397.3 MB, free: 296 kB / 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.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 85.02 kB / 0.5416 GB, free: 42.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1224, allocations: 71.85 MB / 0.6118 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5513/0.6736, allocations: 162.5 MB / 0.7704 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.6878, allocations: 12.71 MB / 0.7828 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.689, allocations: 35.31 kB / 0.7828 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.6907, allocations: 0.6684 MB / 0.7835 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.6938, allocations: 1.189 MB / 0.7847 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.6962, allocations: 0.8898 MB / 0.7855 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.6982, allocations: 1.909 MB / 0.7874 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.6986, allocations: 246.7 kB / 0.7876 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.6999, allocations: 0.8757 MB / 0.7885 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.7011, allocations: 1.109 MB / 0.7896 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.7014, allocations: 127 kB / 0.7897 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.7045, allocations: 1.552 MB / 0.7912 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.7049, allocations: 381.9 kB / 0.7916 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007841/0.7056, allocations: 0.7167 MB / 0.7923 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.7092, allocations: 2.198 MB / 0.7944 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7092, allocations: 0 / 0.7944 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7092, allocations: 0 / 0.7944 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.7093, allocations: 0.875 kB / 0.7944 GB, free: 1.23 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004438/0.7137, allocations: 2.07 MB / 0.7964 GB, free: 272 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7137, allocations: 8.656 kB / 0.7964 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.7139, allocations: 145.7 kB / 0.7966 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.7142, allocations: 159 kB / 0.7967 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.716, allocations: 0.9835 MB / 0.7977 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/0.7161, allocations: 97.36 kB / 0.7978 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.7163, allocations: 99.02 kB / 0.7979 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.7184, allocations: 1.467 MB / 0.7993 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.7184, allocations: 4.188 kB / 0.7993 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.7185, allocations: 33.38 kB / 0.7993 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.7186, allocations: 56.78 kB / 0.7994 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/0.7215, allocations: 2.047 MB / 0.8014 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.732, allocations: 5.217 MB / 0.8065 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.7341, allocations: 1.235 MB / 0.8077 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.7354, allocations: 0.8131 MB / 0.8085 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006978/0.7424, allocations: 4.704 MB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.7424, allocations: 50.28 kB / 0.8131 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 3.407e-06/0.7424, allocations: 0 / 0.8131 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01019/0.7526, allocations: 5.28 MB / 0.8183 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.7527, allocations: 65.97 kB / 0.8184 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.7541, allocations: 0.9148 MB / 0.8192 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.7543, allocations: 47.05 kB / 0.8193 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.7547, allocations: 466.8 kB / 0.8197 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.7552, allocations: 440.6 kB / 0.8202 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.7556, allocations: 240 kB / 0.8204 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.7558, allocations: 352.2 kB / 0.8207 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.7569, allocations: 0.6313 MB / 0.8213 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.7581, allocations: 0.7625 MB / 0.8221 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.7604, allocations: 1.47 MB / 0.8235 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.7604, allocations: 0 / 0.8235 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00362/0.764, allocations: 1.967 MB / 0.8254 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7641, allocations: 7.344 kB / 0.8254 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.7641, allocations: 8.766 kB / 0.8255 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.765, allocations: 346.4 kB / 0.8258 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7661, allocations: 233.6 kB / 0.826 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.7718, allocations: 3.893 MB / 0.8298 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.7729, allocations: 36.8 kB / 0.8298 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.773, allocations: 56.88 kB / 0.8299 GB, free: 13.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006538/0.7737, allocations: 334.4 kB / 0.8302 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.774, allocations: 132.9 kB / 0.8303 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.7787, allocations: 2.747 MB / 0.833 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.7787, allocations: 8.812 kB / 0.833 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7787, allocations: 8 kB / 0.833 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7787, allocations: 4.828 kB / 0.833 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.7851, allocations: 3.415 MB / 0.8364 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.7851, allocations: 4.969 kB / 0.8364 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.786, allocations: 169.2 kB / 0.8365 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.787, allocations: 407.6 kB / 0.8369 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.7872, allocations: 52.64 kB / 0.837 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/0.7929, allocations: 3.88 MB / 0.8408 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7929, allocations: 4 kB / 0.8408 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.7982, allocations: 2.796 MB / 0.8435 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.7992, allocations: 353 kB / 0.8438 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.7995, allocations: 24 kB / 0.8439 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.8002, allocations: 32.89 kB / 0.8439 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.8005, allocations: 96.7 kB / 0.844 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8006, allocations: 54.44 kB / 0.844 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001108/0.8017, allocations: 0.7009 MB / 0.8447 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.8017, allocations: 0 / 0.8447 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001632/0.8033, allocations: 484.3 kB / 0.8452 GB, free: 13.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.m_flow) * 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0072/0.8105, allocations: 3.976 MB / 0.8491 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.8144, allocations: 1.813 MB / 0.8508 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8144, allocations: 0 / 0.8508 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.8167, allocations: 1.136 MB / 0.852 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.819, allocations: 433 kB / 0.8524 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.8414, allocations: 12.04 MB / 0.8641 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.8423, allocations: 1.176 MB / 0.8653 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001326/0.8436, allocations: 343.7 kB / 0.8656 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.8444, allocations: 487.2 kB / 0.8661 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.8444, allocations: 0 / 0.8661 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08602/0.9304, allocations: 38.26 MB / 0.9034 GB, free: 2.363 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.16, allocations: 7.875 kB / 0.9034 GB, free: 2.355 MB / 0.67 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 20.866969832219183] Failed to read output from testmodel.py, exit status != 0: 17.352383489254862 17.375304122 16.661568621 Calling exit ...