Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.001418/0.001418, allocations: 77.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.001012/0.001012, allocations: 166 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.133/1.133, allocations: 177.1 MB / 202.9 MB, free: 5.719 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.705/0.705, allocations: 116 MB / 375.4 MB, free: 4.16 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.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 3.938 kB / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.335e-05, allocations: 9.344 kB / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.5063/0.5063, allocations: 132.1 MB / 0.6825 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.5113, allocations: 4.418 MB / 0.6868 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.5119, allocations: 45.22 kB / 0.6869 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.5128, allocations: 319.7 kB / 0.6872 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.5147, allocations: 0.8396 MB / 0.688 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.5159, allocations: 486.1 kB / 0.6885 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.5173, allocations: 1.163 MB / 0.6896 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.5176, allocations: 104.3 kB / 0.6897 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.5186, allocations: 0.6599 MB / 0.6903 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.519, allocations: 369.7 kB / 0.6907 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.5191, allocations: 50.89 kB / 0.6907 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5201, allocations: 0.7112 MB / 0.6914 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.5203, allocations: 139.6 kB / 0.6916 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.5205, allocations: 232.5 kB / 0.6918 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.5222, allocations: 1.184 MB / 0.6929 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5222, allocations: 0.9688 kB / 0.6929 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5222, allocations: 4 kB / 0.6929 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.5222, allocations: 0 / 0.6929 GB, free: 5.129 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001954/0.5241, allocations: 1.146 MB / 0.6941 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5242, allocations: 9.312 kB / 0.6941 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.5243, allocations: 83.61 kB / 0.6942 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.5245, allocations: 89.94 kB / 0.6942 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.5252, allocations: 0.5771 MB / 0.6948 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.5253, allocations: 143.5 kB / 0.6949 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.5254, allocations: 54.72 kB / 0.695 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.5261, allocations: 0.5718 MB / 0.6955 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5262, allocations: 0 / 0.6955 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.5262, allocations: 17.19 kB / 0.6956 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.5262, allocations: 11 kB / 0.6956 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5272, allocations: 0.5207 MB / 0.6961 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.529, allocations: 1.363 MB / 0.6974 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.53, allocations: 485.7 kB / 0.6979 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.5304, allocations: 227 kB / 0.6981 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.5308, allocations: 143.9 kB / 0.6982 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.5313, allocations: 341.6 kB / 0.6986 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.5313, allocations: 3.984 kB / 0.6986 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.00342/0.5348, allocations: 1.806 MB / 0.7003 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5348, allocations: 59.34 kB / 0.7004 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.5352, allocations: 0.5767 MB / 0.7009 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5353, allocations: 36.23 kB / 0.701 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.5355, allocations: 318.5 kB / 0.7013 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.5357, allocations: 162.5 kB / 0.7014 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5359, allocations: 82.38 kB / 0.7015 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.5359, allocations: 327 kB / 0.7018 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.5365, allocations: 286.6 kB / 0.7021 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.537, allocations: 328.7 kB / 0.7024 GB, free: 356 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.5378, allocations: 0.5282 MB / 0.7029 GB, free: 40 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5378, allocations: 0 / 0.7029 GB, free: 40 kB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001569/0.5394, allocations: 0.7868 MB / 0.7037 GB, free: 15.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.5395, allocations: 63.58 kB / 0.7038 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.5395, allocations: 0 / 0.7038 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.5401, allocations: 82.03 kB / 0.7038 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.5404, allocations: 131.9 kB / 0.704 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005111/0.5409, allocations: 0.5536 MB / 0.7045 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.5415, allocations: 67.97 kB / 0.7046 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.5415, allocations: 21.97 kB / 0.7046 GB, free: 14.82 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: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0002991/0.5418, allocations: 181.6 kB / 0.7048 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.5419, allocations: 77.91 kB / 0.7048 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.5435, allocations: 0.8458 MB / 0.7057 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5435, allocations: 2.844 kB / 0.7057 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5436, allocations: 0 / 0.7057 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5436, allocations: 7.984 kB / 0.7057 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.5442, allocations: 432.3 kB / 0.7061 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5442, allocations: 0 / 0.7061 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.5445, allocations: 108.9 kB / 0.7062 GB, free: 13.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.5448, allocations: 86.06 kB / 0.7063 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.5449, allocations: 10.69 kB / 0.7063 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/0.5452, allocations: 0.5612 MB / 0.7068 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.5452, allocations: 2.656 kB / 0.7068 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.547, allocations: 0.8718 MB / 0.7077 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.5473, allocations: 99 kB / 0.7078 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.5473, allocations: 11.94 kB / 0.7078 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.5476, allocations: 63.91 kB / 0.7079 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.5477, allocations: 54.78 kB / 0.7079 GB, free: 12.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.5478, allocations: 11.94 kB / 0.7079 GB, free: 12.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004622/0.5482, allocations: 438 kB / 0.7083 GB, free: 12.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.22e-07/0.5482, allocations: 0 / 0.7083 GB, free: 12.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005866/0.5488, allocations: 205 kB / 0.7085 GB, free: 12.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002344/0.5511, allocations: 1.643 MB / 0.7101 GB, free: 11.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.5526, allocations: 0.6727 MB / 0.7108 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5527, allocations: 0 / 0.7108 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.5532, allocations: 263.2 kB / 0.711 GB, free: 10.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5543, allocations: 323.6 kB / 0.7113 GB, free: 10.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.5633, allocations: 5.643 MB / 0.7169 GB, free: 6.785 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.5635, allocations: 293.3 kB / 0.7171 GB, free: 6.605 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005281/0.564, allocations: 119.2 kB / 0.7173 GB, free: 6.551 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.5643, allocations: 254.6 kB / 0.7175 GB, free: 6.344 MB / 0.573 GB Notification: Performance of SimCode: time 2.224e-06/0.5643, allocations: 0 / 0.7175 GB, free: 6.344 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.6214, allocations: 22.8 MB / 0.7398 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.694/9.315, allocations: 4.062 kB / 0.7398 GB, free: 8.215 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.411675425246358] Failed to read output from testmodel.py, exit status != 0: 9.412936843931675 9.421880429 8.897933714 Calling exit ...