Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 76.25 kB / 19.27 MB, free: 0.5859 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 170 kB / 22.58 MB, free: 1.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.083/1.083, allocations: 177.1 MB / 202.9 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7762/0.7762, allocations: 116 MB / 375.4 MB, free: 4.137 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.738e-05, allocations: 4.844 kB / 0.5535 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.5581/0.5582, allocations: 133.1 MB / 0.6835 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007078/0.5652, allocations: 5.376 MB / 0.6887 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.5658, allocations: 49.31 kB / 0.6888 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.567, allocations: 336.1 kB / 0.6891 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.5696, allocations: 1.062 MB / 0.6901 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.5705, allocations: 463 kB / 0.6906 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.5714, allocations: 1.144 MB / 0.6917 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.5716, allocations: 97.31 kB / 0.6918 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008651/0.5725, allocations: 0.6375 MB / 0.6924 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.5731, allocations: 366.1 kB / 0.6928 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.5731, allocations: 40.47 kB / 0.6928 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.5745, allocations: 0.86 MB / 0.6936 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.5746, allocations: 120 kB / 0.6937 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.5749, allocations: 223.8 kB / 0.694 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.5763, allocations: 1.207 MB / 0.6951 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.5763, allocations: 4 kB / 0.6951 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.159e-06/0.5763, allocations: 1.531 kB / 0.6951 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.5763, allocations: 0 / 0.6951 GB, free: 4.816 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001322/0.5776, allocations: 1.016 MB / 0.6961 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5777, allocations: 10.19 kB / 0.6961 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.5777, allocations: 90.53 kB / 0.6962 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.5778, allocations: 85.92 kB / 0.6963 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.5786, allocations: 0.5705 MB / 0.6969 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.5787, allocations: 199.6 kB / 0.6971 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.5788, allocations: 49.89 kB / 0.6971 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.5796, allocations: 0.5238 MB / 0.6976 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5796, allocations: 4 kB / 0.6976 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.5796, allocations: 20.41 kB / 0.6976 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5796, allocations: 12.47 kB / 0.6977 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.5803, allocations: 449.9 kB / 0.6981 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.582, allocations: 1.512 MB / 0.6996 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.5826, allocations: 315.5 kB / 0.6999 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.5828, allocations: 161.7 kB / 0.7 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.5832, allocations: 183.6 kB / 0.7002 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.5832, allocations: 45.78 kB / 0.7002 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.5832, allocations: 0 / 0.7002 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0009004/0.5841, allocations: 0.5396 MB / 0.7008 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.5841, allocations: 60.53 kB / 0.7008 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.5846, allocations: 0.5863 MB / 0.7014 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.5846, allocations: 38.47 kB / 0.7014 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.5848, allocations: 302.8 kB / 0.7017 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.5849, allocations: 150 kB / 0.7019 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.585, allocations: 77.94 kB / 0.7019 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.585, allocations: 317.1 kB / 0.7022 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.5852, allocations: 114.1 kB / 0.7024 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.5854, allocations: 169.1 kB / 0.7025 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5858, allocations: 285.6 kB / 0.7028 GB, free: 492 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5858, allocations: 0 / 0.7028 GB, free: 492 kB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005829/0.5864, allocations: 452.4 kB / 0.7032 GB, free: 284 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5864, allocations: 8.156 kB / 0.7032 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5864, allocations: 0 / 0.7032 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.5868, allocations: 83.03 kB / 0.7033 GB, free: 264 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.587, allocations: 86.7 kB / 0.7034 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003347/0.5873, allocations: 0.5686 MB / 0.7039 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5875, allocations: 58.27 kB / 0.704 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.5875, allocations: 16.12 kB / 0.704 GB, free: 15.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 45 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.5877, allocations: 171.2 kB / 0.7042 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.5877, allocations: 76.3 kB / 0.7042 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009084/0.5886, allocations: 0.6446 MB / 0.7049 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5887, allocations: 3.594 kB / 0.7049 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5887, allocations: 11.31 kB / 0.7049 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5887, allocations: 0 / 0.7049 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.5896, allocations: 0.8791 MB / 0.7057 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5897, allocations: 2.812 kB / 0.7058 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.5898, allocations: 60.14 kB / 0.7058 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.5901, allocations: 76.17 kB / 0.7059 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5901, allocations: 13.77 kB / 0.7059 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/0.5904, allocations: 0.5718 MB / 0.7065 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5904, allocations: 4.969 kB / 0.7065 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.5911, allocations: 0.5825 MB / 0.707 GB, free: 13.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5913, allocations: 99.95 kB / 0.7071 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.5913, allocations: 16.7 kB / 0.7071 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5914, allocations: 12.36 kB / 0.7072 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.5915, allocations: 34.61 kB / 0.7072 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.5915, allocations: 14.66 kB / 0.7072 GB, free: 13.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000383/0.5919, allocations: 462.7 kB / 0.7076 GB, free: 12.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.5919, allocations: 0 / 0.7076 GB, free: 12.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000451/0.5924, allocations: 224.9 kB / 0.7079 GB, free: 12.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * 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 (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.5938, allocations: 1.407 MB / 0.7092 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.5943, allocations: 274 kB / 0.7095 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5943, allocations: 4 kB / 0.7095 GB, free: 11.74 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.5945, allocations: 135.6 kB / 0.7096 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.5954, allocations: 358.2 kB / 0.71 GB, free: 11.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.6008, allocations: 4.971 MB / 0.7148 GB, free: 8.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.601, allocations: 283.7 kB / 0.7151 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.6013, allocations: 130 kB / 0.7152 GB, free: 8.047 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.6015, allocations: 238.7 kB / 0.7154 GB, free: 7.855 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.6015, allocations: 0 / 0.7154 GB, free: 7.855 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.6405, allocations: 22.58 MB / 0.7375 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/9.185, allocations: 11.5 kB / 0.7375 GB, free: 11.43 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.351739929057658] Failed to read output from testmodel.py, exit status != 0: 9.281701378524303 9.290970613 8.7129551 Calling exit ...