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.0008466/0.0008466, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001056/0.001056, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8887/0.8887, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6402/0.6402, allocations: 116 MB / 375.2 MB, free: 4.172 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 1.844e-06/1.844e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.796e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.4421/0.4421, allocations: 133.1 MB / 0.6833 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007032/0.4491, allocations: 5.376 MB / 0.6885 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.4503, allocations: 45.78 kB / 0.6885 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4515, allocations: 336.3 kB / 0.6889 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.4562, allocations: 1.066 MB / 0.6899 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4578, allocations: 450.6 kB / 0.6903 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002411/0.4602, allocations: 1.144 MB / 0.6915 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.4605, allocations: 103.3 kB / 0.6916 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.4622, allocations: 0.6348 MB / 0.6922 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.463, allocations: 366.6 kB / 0.6925 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4631, allocations: 40.41 kB / 0.6926 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.4654, allocations: 0.8607 MB / 0.6934 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.4655, allocations: 122.3 kB / 0.6935 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.466, allocations: 229.7 kB / 0.6937 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.4689, allocations: 1.203 MB / 0.6949 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4689, allocations: 0 / 0.6949 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4689, allocations: 0 / 0.6949 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.4689, allocations: 1.469 kB / 0.6949 GB, free: 4.805 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.002131/0.471, allocations: 1.013 MB / 0.6959 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4711, allocations: 13.56 kB / 0.6959 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.687e-05/0.4712, allocations: 87.19 kB / 0.696 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.4714, allocations: 88.8 kB / 0.6961 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4725, allocations: 0.5255 MB / 0.6966 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.4727, allocations: 202 kB / 0.6968 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.4728, allocations: 51.31 kB / 0.6968 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.4738, allocations: 0.5344 MB / 0.6974 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4738, allocations: 0 / 0.6974 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.4738, allocations: 20.22 kB / 0.6974 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4738, allocations: 11.06 kB / 0.6974 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.4747, allocations: 450.7 kB / 0.6978 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4769, allocations: 1.495 MB / 0.6993 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.4776, allocations: 316.6 kB / 0.6996 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.4778, allocations: 165.1 kB / 0.6997 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.4783, allocations: 182.2 kB / 0.6999 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4783, allocations: 38.41 kB / 0.7 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 3.537e-06/0.4783, allocations: 0 / 0.7 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001118/0.4794, allocations: 0.5449 MB / 0.7005 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4795, allocations: 56.59 kB / 0.7005 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.48, allocations: 0.5889 MB / 0.7011 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.48, allocations: 32.61 kB / 0.7011 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.4801, allocations: 305.3 kB / 0.7014 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.4802, allocations: 147.8 kB / 0.7016 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4803, allocations: 80.47 kB / 0.7017 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.4803, allocations: 320 kB / 0.702 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4805, allocations: 115.4 kB / 0.7021 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.4808, allocations: 161.5 kB / 0.7022 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.4812, allocations: 288.8 kB / 0.7025 GB, free: 492 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4812, allocations: 7.562 kB / 0.7025 GB, free: 488 kB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006368/0.4818, allocations: 452.4 kB / 0.7029 GB, free: 280 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4818, allocations: 4.938 kB / 0.7029 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4819, allocations: 0 / 0.7029 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.4823, allocations: 91.33 kB / 0.703 GB, free: 252 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4825, allocations: 89.38 kB / 0.7031 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/0.4829, allocations: 0.5592 MB / 0.7037 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4831, allocations: 53.72 kB / 0.7037 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.4832, allocations: 24.7 kB / 0.7037 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.0002077/0.4834, allocations: 173.8 kB / 0.7039 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.4834, allocations: 79.36 kB / 0.704 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000947/0.4844, allocations: 0.6396 MB / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4844, allocations: 7.969 kB / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.4844, allocations: 3.938 kB / 0.7046 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4844, allocations: 2.578 kB / 0.7046 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.4858, allocations: 0.8774 MB / 0.7055 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4858, allocations: 3.25 kB / 0.7055 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4859, allocations: 58.11 kB / 0.7055 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/0.4863, allocations: 77.2 kB / 0.7056 GB, free: 14.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.4863, allocations: 10.48 kB / 0.7056 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003282/0.4866, allocations: 0.5824 MB / 0.7062 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4866, allocations: 2.25 kB / 0.7062 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.4873, allocations: 0.5833 MB / 0.7068 GB, free: 13.37 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.4875, allocations: 91.27 kB / 0.7068 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.4875, allocations: 16.86 kB / 0.7069 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.4877, allocations: 16.42 kB / 0.7069 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4877, allocations: 30.44 kB / 0.7069 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4877, allocations: 18.36 kB / 0.7069 GB, free: 13.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003974/0.4881, allocations: 462.9 kB / 0.7074 GB, free: 13 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4881, allocations: 0 / 0.7074 GB, free: 13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000737/0.4889, allocations: 222.3 kB / 0.7076 GB, free: 12.94 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.001424/0.4903, allocations: 1.413 MB / 0.709 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.4909, allocations: 274.1 kB / 0.7092 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4909, allocations: 0 / 0.7092 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.4911, allocations: 139.4 kB / 0.7093 GB, free: 11.69 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/0.492, allocations: 352.1 kB / 0.7097 GB, free: 11.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.4973, allocations: 4.976 MB / 0.7145 GB, free: 8.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.4975, allocations: 284.9 kB / 0.7148 GB, free: 8.102 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004146/0.4979, allocations: 127.9 kB / 0.7149 GB, free: 8.051 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.4981, allocations: 236.7 kB / 0.7152 GB, free: 7.859 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/0.4981, allocations: 4 kB / 0.7152 GB, free: 7.855 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.5373, allocations: 22.57 MB / 0.7372 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.085, allocations: 11.62 kB / 0.7372 GB, free: 11.52 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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 11.774533946998417] Failed to read output from testmodel.py, exit status != 0: 9.185067877173424 9.193944556 8.723032084 Calling exit ...