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.0007871/0.0007871, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008176/0.0008176, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.859/0.859, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.6331/0.6331, allocations: 116 MB / 375.2 MB, free: 4.184 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.633e-06/1.633e-06, allocations: 0 / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.907e-05, allocations: 13.52 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.3806/0.3807, allocations: 132.1 MB / 0.6823 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3853, allocations: 4.405 MB / 0.6866 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.3862, allocations: 53.5 kB / 0.6866 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008455/0.387, allocations: 308.8 kB / 0.6869 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3891, allocations: 0.8461 MB / 0.6878 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3901, allocations: 491.8 kB / 0.6882 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3915, allocations: 1.166 MB / 0.6894 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3917, allocations: 99.86 kB / 0.6895 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3928, allocations: 0.6516 MB / 0.6901 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.3933, allocations: 378.7 kB / 0.6905 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.3934, allocations: 48.69 kB / 0.6905 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3948, allocations: 0.7165 MB / 0.6912 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3949, allocations: 129.9 kB / 0.6913 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3952, allocations: 237.7 kB / 0.6916 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.3971, allocations: 1.184 MB / 0.6927 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3971, allocations: 2.625 kB / 0.6927 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3971, allocations: 0 / 0.6927 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.051e-05/0.3972, allocations: 0 / 0.6927 GB, free: 5.082 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.001861/0.399, allocations: 1.152 MB / 0.6938 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3991, allocations: 9.469 kB / 0.6938 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.3991, allocations: 85.27 kB / 0.6939 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3993, allocations: 92.36 kB / 0.694 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.4001, allocations: 0.5383 MB / 0.6945 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.4002, allocations: 145.9 kB / 0.6947 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.4003, allocations: 47 kB / 0.6947 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.401, allocations: 0.5715 MB / 0.6953 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4011, allocations: 1.594 kB / 0.6953 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.4011, allocations: 16.75 kB / 0.6953 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4011, allocations: 11.78 kB / 0.6953 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.4019, allocations: 0.5203 MB / 0.6958 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.4036, allocations: 1.348 MB / 0.6971 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.4045, allocations: 485.7 kB / 0.6976 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.4048, allocations: 228.6 kB / 0.6978 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/0.4052, allocations: 132.6 kB / 0.6979 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/0.4057, allocations: 347.2 kB / 0.6983 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.4057, allocations: 0 / 0.6983 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.003242/0.4089, allocations: 1.807 MB / 0.7 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.409, allocations: 62.08 kB / 0.7001 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.4094, allocations: 0.5737 MB / 0.7007 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4094, allocations: 36.64 kB / 0.7007 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4095, allocations: 312.2 kB / 0.701 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.4096, allocations: 160.4 kB / 0.7011 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.4097, allocations: 92.89 kB / 0.7012 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.4097, allocations: 320.8 kB / 0.7015 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.4101, allocations: 289.2 kB / 0.7018 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.4106, allocations: 335.1 kB / 0.7021 GB, free: 356 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.4114, allocations: 0.5219 MB / 0.7026 GB, free: 44 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4114, allocations: 2.625 kB / 0.7026 GB, free: 44 kB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001192/0.4125, allocations: 0.7866 MB / 0.7034 GB, free: 15.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.4126, allocations: 63.14 kB / 0.7035 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4126, allocations: 0 / 0.7035 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.413, allocations: 82.58 kB / 0.7036 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.4133, allocations: 130.8 kB / 0.7037 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/0.4136, allocations: 0.5639 MB / 0.7042 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.414, allocations: 64.08 kB / 0.7043 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.414, allocations: 22.45 kB / 0.7043 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.0002244/0.4142, allocations: 183.3 kB / 0.7045 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.4143, allocations: 74.06 kB / 0.7046 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.4155, allocations: 0.8512 MB / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.4155, allocations: 5.906 kB / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4155, allocations: 3.062 kB / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4155, allocations: 0 / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.416, allocations: 439.1 kB / 0.7058 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.416, allocations: 0 / 0.7058 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.4163, allocations: 108.5 kB / 0.7059 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/0.4166, allocations: 71.89 kB / 0.706 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.4166, allocations: 14.61 kB / 0.706 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/0.4169, allocations: 0.5678 MB / 0.7066 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4169, allocations: 0 / 0.7066 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.4183, allocations: 0.8678 MB / 0.7074 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4185, allocations: 100.8 kB / 0.7075 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.4185, allocations: 13.41 kB / 0.7075 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4187, allocations: 53.3 kB / 0.7076 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4188, allocations: 58.41 kB / 0.7076 GB, free: 12.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4189, allocations: 12.02 kB / 0.7076 GB, free: 12.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003337/0.4192, allocations: 441.3 kB / 0.7081 GB, free: 12.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4192, allocations: 0 / 0.7081 GB, free: 12.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005418/0.4197, allocations: 200.9 kB / 0.7082 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.002248/0.422, allocations: 1.652 MB / 0.7099 GB, free: 11.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.4231, allocations: 0.6803 MB / 0.7105 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4231, allocations: 0 / 0.7105 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.4235, allocations: 252.9 kB / 0.7108 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.0008358/0.4243, allocations: 335.4 kB / 0.7111 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.4308, allocations: 5.643 MB / 0.7166 GB, free: 6.773 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.431, allocations: 297.6 kB / 0.7169 GB, free: 6.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003911/0.4313, allocations: 113 kB / 0.717 GB, free: 6.539 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4316, allocations: 250.7 kB / 0.7172 GB, free: 6.336 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/0.4316, allocations: 0 / 0.7172 GB, free: 6.336 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.4676, allocations: 22.79 MB / 0.7395 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.428, allocations: 0 / 0.7395 GB, free: 8.328 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: 10.86636657267809] Failed to read output from testmodel.py, exit status != 0: 8.521956423297524 8.530506762 8.131465596 Calling exit ...