Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.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.0009411/0.0009411, allocations: 81.69 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.001933/0.001933, allocations: 166.3 kB / 22.58 MB, free: 1.926 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.119/1.119, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.7942/0.7942, allocations: 116 MB / 375.4 MB, free: 4.156 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.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.5535 GB, free: 13.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.598e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3): time 0.6154/0.6154, allocations: 133.4 MB / 0.6839 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.6236, allocations: 5.562 MB / 0.6893 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.6255, allocations: 51.75 kB / 0.6893 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.627, allocations: 357.1 kB / 0.6897 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004494/0.6315, allocations: 1.103 MB / 0.6908 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.6335, allocations: 0.5155 MB / 0.6913 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.6363, allocations: 1.367 MB / 0.6926 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.6367, allocations: 137 kB / 0.6927 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.6386, allocations: 0.7694 MB / 0.6935 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.6393, allocations: 448.2 kB / 0.6939 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6394, allocations: 60.88 kB / 0.694 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.6423, allocations: 0.9428 MB / 0.6949 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.6426, allocations: 166.9 kB / 0.695 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.6432, allocations: 289.6 kB / 0.6953 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.6476, allocations: 1.453 MB / 0.6967 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.6476, allocations: 0 / 0.6967 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.407e-06/0.6476, allocations: 2.938 kB / 0.6967 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.6476, allocations: 0 / 0.6967 GB, free: 4.488 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002677/0.6503, allocations: 1.381 MB / 0.6981 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.6504, allocations: 9.625 kB / 0.6981 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.6505, allocations: 109.6 kB / 0.6982 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.6507, allocations: 109.9 kB / 0.6983 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.652, allocations: 0.6239 MB / 0.6989 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.6521, allocations: 210.2 kB / 0.6991 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.6522, allocations: 70.45 kB / 0.6992 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.6534, allocations: 0.7173 MB / 0.6999 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.6534, allocations: 0 / 0.6999 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.6535, allocations: 29.66 kB / 0.6999 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.6535, allocations: 15.62 kB / 0.6999 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.6544, allocations: 0.604 MB / 0.7005 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.6571, allocations: 1.586 MB / 0.7021 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.6582, allocations: 0.7296 MB / 0.7028 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.6587, allocations: 280.3 kB / 0.703 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.6593, allocations: 193.5 kB / 0.7032 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/0.6599, allocations: 449.2 kB / 0.7037 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 4.298e-06/0.6599, allocations: 0 / 0.7037 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.001775/0.6617, allocations: 0.961 MB / 0.7046 GB, free: 64 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.6617, allocations: 71.78 kB / 0.7047 GB, free: 15.99 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.6622, allocations: 0.5068 MB / 0.7052 GB, free: 15.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.6623, allocations: 45.8 kB / 0.7052 GB, free: 15.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.6625, allocations: 348.9 kB / 0.7055 GB, free: 15.32 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6627, allocations: 242 kB / 0.7058 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6629, allocations: 132.8 kB / 0.7059 GB, free: 15.04 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.6631, allocations: 379.1 kB / 0.7063 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/0.6637, allocations: 389.8 kB / 0.7066 GB, free: 14.39 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.6642, allocations: 448 kB / 0.7071 GB, free: 14.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.6652, allocations: 0.6608 MB / 0.7077 GB, free: 13.63 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6652, allocations: 0 / 0.7077 GB, free: 13.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001344/0.6665, allocations: 1.051 MB / 0.7087 GB, free: 12.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.6666, allocations: 144.7 kB / 0.7089 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6666, allocations: 0 / 0.7089 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/0.6671, allocations: 81.92 kB / 0.7089 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.6675, allocations: 135.5 kB / 0.7091 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/0.6679, allocations: 0.5682 MB / 0.7096 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.6682, allocations: 82.94 kB / 0.7097 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.6683, allocations: 30.95 kB / 0.7097 GB, free: 12.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 25 (isentropicEfficiency.count,$PRE.isentropicEfficiency.count,isentropicEfficiency.T_start,$PRE.isentropicEfficiency.T_start,massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,pressureRatio.count,$PRE.pressureRatio.count,pressureRatio.T_start,$PRE.pressureRatio.T_start,inletTemperature.count,$PRE.inletTemperature.count,inletTemperature.T_start,$PRE.inletTemperature.T_start,inletPressure.count,$PRE.inletPressure.count,inletPressure.T_start,$PRE.inletPressure.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * 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.0002773/0.6686, allocations: 205 kB / 0.7099 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.6687, allocations: 82.42 kB / 0.71 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.67, allocations: 0.8082 MB / 0.7108 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.67, allocations: 5.375 kB / 0.7108 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.6701, allocations: 2.594 kB / 0.7108 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.6701, allocations: 3.984 kB / 0.7108 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.6707, allocations: 0.5638 MB / 0.7114 GB, free: 11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6707, allocations: 0 / 0.7114 GB, free: 11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.6711, allocations: 128.6 kB / 0.7115 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003361/0.6714, allocations: 75.95 kB / 0.7116 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.6715, allocations: 21.16 kB / 0.7116 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004344/0.6719, allocations: 0.5614 MB / 0.7121 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6719, allocations: 2.625 kB / 0.7121 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6734, allocations: 1.048 MB / 0.7132 GB, free: 9.805 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.6737, allocations: 138.6 kB / 0.7133 GB, free: 9.699 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.6737, allocations: 17.97 kB / 0.7133 GB, free: 9.688 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.6739, allocations: 51.91 kB / 0.7134 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.6741, allocations: 86.73 kB / 0.7134 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.6741, allocations: 28.27 kB / 0.7135 GB, free: 9.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003278/0.6745, allocations: 354.9 kB / 0.7138 GB, free: 9.383 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.6745, allocations: 0 / 0.7138 GB, free: 9.383 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008894/0.6754, allocations: 306.9 kB / 0.7141 GB, free: 9.293 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,adiabaticFilter.dp) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inletPressure.T_start,inletPressure.count,inletTemperature.T_start,inletTemperature.count,pressureRatio.T_start,pressureRatio.count,massFlowRate.T_start,massFlowRate.count,isentropicEfficiency.T_start,isentropicEfficiency.count) * Number of discrete states: 5 (inletPressure.count,inletTemperature.count,pressureRatio.count,massFlowRate.count,isentropicEfficiency.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0028/0.6782, allocations: 1.892 MB / 0.7159 GB, free: 8.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.6797, allocations: 1.007 MB / 0.7169 GB, free: 7.348 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6797, allocations: 0 / 0.7169 GB, free: 7.348 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.6802, allocations: 341.7 kB / 0.7172 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.681, allocations: 308.1 kB / 0.7175 GB, free: 7.051 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.6892, allocations: 6.219 MB / 0.7236 GB, free: 2.848 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6896, allocations: 348.1 kB / 0.7239 GB, free: 2.645 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006747/0.6902, allocations: 135.6 kB / 0.7241 GB, free: 2.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6906, allocations: 299.4 kB / 0.7244 GB, free: 2.348 MB / 0.573 GB Notification: Performance of SimCode: time 2.575e-06/0.6906, allocations: 0 / 0.7244 GB, free: 2.348 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.7425, allocations: 24.32 MB / 0.7481 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.416/10.16, allocations: 7.375 kB / 0.7481 GB, free: 0.5938 MB / 0.5886 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.43603935930878] Failed to read output from testmodel.py, exit status != 0: 10.260145612992346 10.274284344 9.623922012 Calling exit ...