Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_InertMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_InertMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006812/0.006812, allocations: 95.98 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 196.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06714/0.06714, allocations: 10.97 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01709/0.01709, allocations: 4.243 MB / 334.6 MB, free: 29.03 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 66.42 kB / 447.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08402, allocations: 49.75 MB / 496.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass): time 0.3522/0.4362, allocations: 136.2 MB / 0.6181 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.4379, allocations: 1.337 MB / 0.6194 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.438, allocations: 3 kB / 0.6194 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.4383, allocations: 47.73 kB / 0.6195 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.4384, allocations: 71.75 kB / 0.6196 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.4392, allocations: 318.9 kB / 0.6199 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.4394, allocations: 282 kB / 0.6201 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.4396, allocations: 84.89 kB / 0.6202 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4398, allocations: 103 kB / 0.6203 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.4399, allocations: 124 kB / 0.6204 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.44, allocations: 29.03 kB / 0.6205 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.4403, allocations: 156.8 kB / 0.6206 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.4403, allocations: 54.41 kB / 0.6207 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.4404, allocations: 118.1 kB / 0.6208 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.4408, allocations: 330.8 kB / 0.6211 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4408, allocations: 0 / 0.6211 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4408, allocations: 0 / 0.6211 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4408, allocations: 1.812 kB / 0.6211 GB, free: 12.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008221/0.4417, allocations: 0.5274 MB / 0.6216 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4417, allocations: 10.16 kB / 0.6216 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.4417, allocations: 52.94 kB / 0.6217 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.4418, allocations: 22.36 kB / 0.6217 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.4421, allocations: 239.5 kB / 0.6219 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4421, allocations: 19.38 kB / 0.6219 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.4421, allocations: 23.16 kB / 0.622 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.4425, allocations: 209.4 kB / 0.6222 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4425, allocations: 6.219 kB / 0.6222 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4426, allocations: 4.125 kB / 0.6222 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4426, allocations: 5.094 kB / 0.6222 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.4428, allocations: 164.5 kB / 0.6223 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4439, allocations: 0.9084 MB / 0.6232 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4442, allocations: 187.7 kB / 0.6234 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4444, allocations: 89.77 kB / 0.6235 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/0.4454, allocations: 0.9019 MB / 0.6244 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.525e-05/0.4455, allocations: 34.19 kB / 0.6244 GB, free: 10.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.4455, allocations: 0 / 0.6244 GB, free: 10.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003283/0.4458, allocations: 169 kB / 0.6245 GB, free: 10.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4458, allocations: 51.41 kB / 0.6246 GB, free: 10.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.446, allocations: 222.6 kB / 0.6248 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4461, allocations: 28.39 kB / 0.6248 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.4461, allocations: 154.9 kB / 0.625 GB, free: 10.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.4462, allocations: 50.58 kB / 0.625 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.4463, allocations: 44.48 kB / 0.6251 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4464, allocations: 330.2 kB / 0.6254 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.4465, allocations: 44.22 kB / 0.6254 GB, free: 9.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.4466, allocations: 121 kB / 0.6255 GB, free: 9.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4468, allocations: 182.2 kB / 0.6257 GB, free: 9.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4468, allocations: 3.625 kB / 0.6257 GB, free: 9.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002978/0.4471, allocations: 214.7 kB / 0.6259 GB, free: 9.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4471, allocations: 6.406 kB / 0.6259 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4472, allocations: 8.766 kB / 0.6259 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4472, allocations: 2.094 kB / 0.6259 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4473, allocations: 52.59 kB / 0.626 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4474, allocations: 10.62 kB / 0.626 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4475, allocations: 26.34 kB / 0.626 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4475, allocations: 7.625 kB / 0.626 GB, free: 9.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.4476, allocations: 137.5 kB / 0.6262 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.4477, allocations: 27.98 kB / 0.6262 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.4479, allocations: 150.7 kB / 0.6263 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4479, allocations: 2.719 kB / 0.6263 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4479, allocations: 0 / 0.6263 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4479, allocations: 0 / 0.6263 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.4482, allocations: 276 kB / 0.6266 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4482, allocations: 0 / 0.6266 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4484, allocations: 38.61 kB / 0.6266 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4484, allocations: 0 / 0.6266 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4484, allocations: 1.781 kB / 0.6266 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4484, allocations: 2.656 kB / 0.6266 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4484, allocations: 0 / 0.6266 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.4487, allocations: 286.7 kB / 0.6269 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.4488, allocations: 109.5 kB / 0.627 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.4489, allocations: 6.438 kB / 0.627 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.449, allocations: 4 kB / 0.627 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.449, allocations: 8.578 kB / 0.627 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.449, allocations: 4.781 kB / 0.627 GB, free: 8.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.4491, allocations: 158.9 kB / 0.6272 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 0 / 0.6272 GB, free: 8.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.4494, allocations: 53.84 kB / 0.6273 GB, free: 8.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertMass.convection.E,inertMass.carrollRadiation.E,inertMass.heatCapacitor.T,inertMass.heatCapacitor.E) * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.45, allocations: 0.8412 MB / 0.6281 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.4502, allocations: 123.2 kB / 0.6282 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4502, allocations: 0 / 0.6282 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.4503, allocations: 53.03 kB / 0.6282 GB, free: 8.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.4508, allocations: 65.8 kB / 0.6283 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4533, allocations: 2.582 MB / 0.6308 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.4535, allocations: 0.7302 MB / 0.6315 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.4537, allocations: 28.2 kB / 0.6316 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.4538, allocations: 59.78 kB / 0.6316 GB, free: 5.512 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4538, allocations: 0 / 0.6316 GB, free: 5.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.4751, allocations: 4.923 MB / 0.6364 GB, free: 2.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.106, allocations: 0 / 0.6364 GB, free: 2.961 MB / 430.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_InertMass.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_InertMass.pipe 2>&1)