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.001002/0.001002, allocations: 80.23 kB / 19.27 MB, free: 0.6055 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.001087/0.001087, allocations: 162 kB / 22.57 MB, free: 1.949 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.9212/0.9212, allocations: 177.1 MB / 202.9 MB, free: 5.691 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.6507/0.6507, allocations: 116 MB / 375.4 MB, free: 4.141 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.703e-06/1.703e-06, allocations: 0 / 0.5535 GB, free: 13.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.561e-05, allocations: 10.25 kB / 0.5535 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.416/0.416, allocations: 133.1 MB / 0.6835 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006286/0.4223, allocations: 5.376 MB / 0.6887 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4234, allocations: 50.12 kB / 0.6888 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.4246, allocations: 332.5 kB / 0.6891 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.4281, allocations: 1.064 MB / 0.6901 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.4295, allocations: 458.6 kB / 0.6906 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.4313, allocations: 1.142 MB / 0.6917 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.4317, allocations: 108 kB / 0.6918 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.4331, allocations: 0.6322 MB / 0.6924 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.4338, allocations: 364.6 kB / 0.6928 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4339, allocations: 40.47 kB / 0.6928 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.4357, allocations: 0.862 MB / 0.6936 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.4358, allocations: 118.4 kB / 0.6938 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.4362, allocations: 226.2 kB / 0.694 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.4386, allocations: 1.201 MB / 0.6951 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4386, allocations: 5.25 kB / 0.6951 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4386, allocations: 0 / 0.6951 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.856e-05/0.4386, allocations: 0 / 0.6951 GB, free: 4.859 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.00188/0.4405, allocations: 1.017 MB / 0.6961 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4405, allocations: 10.12 kB / 0.6961 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.042e-05/0.4406, allocations: 91.91 kB / 0.6962 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.4408, allocations: 85.86 kB / 0.6963 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.4416, allocations: 0.5669 MB / 0.6969 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.4417, allocations: 199.5 kB / 0.6971 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.4418, allocations: 50.75 kB / 0.6971 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.4425, allocations: 0.5269 MB / 0.6976 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4425, allocations: 4 kB / 0.6976 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.4425, allocations: 16.78 kB / 0.6976 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.4425, allocations: 10.5 kB / 0.6977 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.4432, allocations: 457.2 kB / 0.6981 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.4453, allocations: 1.509 MB / 0.6996 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.446, allocations: 316.6 kB / 0.6999 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.4462, allocations: 166 kB / 0.7 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/0.4467, allocations: 185 kB / 0.7002 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4467, allocations: 41.72 kB / 0.7002 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 3.457e-06/0.4467, allocations: 0 / 0.7002 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001077/0.4478, allocations: 0.5434 MB / 0.7008 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4478, allocations: 56.28 kB / 0.7008 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.4483, allocations: 0.5907 MB / 0.7014 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4484, allocations: 32.45 kB / 0.7014 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4485, allocations: 301.9 kB / 0.7017 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.4486, allocations: 149.6 kB / 0.7019 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.4487, allocations: 81.56 kB / 0.7019 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.4487, allocations: 320.8 kB / 0.7022 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4489, allocations: 107.6 kB / 0.7023 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4491, allocations: 172 kB / 0.7025 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.4495, allocations: 283.1 kB / 0.7028 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4495, allocations: 0 / 0.7028 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005834/0.4501, allocations: 450.5 kB / 0.7032 GB, free: 304 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4501, allocations: 5.156 kB / 0.7032 GB, free: 304 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4501, allocations: 2.594 kB / 0.7032 GB, free: 304 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.4505, allocations: 85.06 kB / 0.7033 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.4507, allocations: 92.34 kB / 0.7034 GB, free: 268 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/0.4511, allocations: 0.5588 MB / 0.7039 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.4514, allocations: 55.81 kB / 0.704 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4514, allocations: 18.48 kB / 0.704 GB, free: 15.69 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.0002204/0.4517, allocations: 172.3 kB / 0.7042 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.4517, allocations: 81.33 kB / 0.7042 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/0.4527, allocations: 0.6419 MB / 0.7049 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4527, allocations: 2.844 kB / 0.7049 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.4527, allocations: 3.938 kB / 0.7049 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4527, allocations: 6.312 kB / 0.7049 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4539, allocations: 0.8709 MB / 0.7057 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4539, allocations: 10.66 kB / 0.7057 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4541, allocations: 59.7 kB / 0.7058 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/0.4544, allocations: 76.75 kB / 0.7059 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4544, allocations: 17.38 kB / 0.7059 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/0.4547, allocations: 0.5793 MB / 0.7065 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4547, allocations: 3 kB / 0.7065 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.4555, allocations: 0.5834 MB / 0.707 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.4556, allocations: 91.7 kB / 0.7071 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.4557, allocations: 21.08 kB / 0.7071 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4559, allocations: 16.2 kB / 0.7072 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.4559, allocations: 30.25 kB / 0.7072 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4559, allocations: 12.08 kB / 0.7072 GB, free: 13.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003998/0.4563, allocations: 465.3 kB / 0.7076 GB, free: 13 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.4563, allocations: 0 / 0.7076 GB, free: 13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006556/0.457, allocations: 224.7 kB / 0.7079 GB, free: 12.95 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.00141/0.4584, allocations: 1.401 MB / 0.7092 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.459, allocations: 282.7 kB / 0.7095 GB, free: 11.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.459, allocations: 0 / 0.7095 GB, free: 11.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.4592, allocations: 135.2 kB / 0.7096 GB, free: 11.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.4602, allocations: 359.6 kB / 0.71 GB, free: 11.54 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.4657, allocations: 4.97 MB / 0.7148 GB, free: 8.309 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4659, allocations: 285.1 kB / 0.7151 GB, free: 8.125 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004555/0.4663, allocations: 130.1 kB / 0.7152 GB, free: 8.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.4665, allocations: 240.3 kB / 0.7154 GB, free: 7.871 MB / 0.573 GB Notification: Performance of SimCode: time 1.492e-06/0.4665, allocations: 2.75 kB / 0.7154 GB, free: 7.871 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.5107, allocations: 22.58 MB / 0.7375 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.139, allocations: 3.938 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 & 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.887557077221572] Failed to read output from testmodel.py, exit status != 0: 9.237812343984842 9.250685168 8.809435992000001 Calling exit ...