Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.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.BaseClasses.test_HeatCapacitor,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_BaseClasses_test_HeatCapacitor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_BaseClasses_test_HeatCapacitor",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.001117/0.001117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 194.4 kB / 16.53 MB, free: 6.66 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.407/1.407, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06568/0.06568, allocations: 10.98 MB / 280.7 MB, free: 10.21 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01792/0.01792, allocations: 4.247 MB / 334.4 MB, free: 29.13 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.001436/0.001436, allocations: 64.38 kB / 396.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2111, allocations: 49.74 MB / 446.4 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor): time 0.002863/0.214, allocations: 2.219 MB / 448.6 MB, free: 46.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.2144, allocations: 211.3 kB / 448.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.2144, allocations: 3.375 kB / 448.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.671e-05/0.2145, allocations: 35.06 kB / 448.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2147, allocations: 68.34 kB / 448.9 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.2149, allocations: 56.61 kB / 449 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.2151, allocations: 260.9 kB / 449.2 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2153, allocations: 86.61 kB / 449.3 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.2154, allocations: 84 kB / 449.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2155, allocations: 103.5 kB / 449.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.2156, allocations: 17.5 kB / 449.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.2156, allocations: 18.38 kB / 449.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.2156, allocations: 41.06 kB / 449.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.2158, allocations: 113.6 kB / 449.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.216, allocations: 221.2 kB / 449.9 MB, free: 45.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.216, allocations: 0 / 449.9 MB, free: 45.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.216, allocations: 5.109 kB / 449.9 MB, free: 45.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.216, allocations: 0 / 449.9 MB, free: 45.21 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006556/0.2167, allocations: 0.499 MB / 450.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2167, allocations: 10.56 kB / 450.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.2168, allocations: 55.23 kB / 450.5 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.2168, allocations: 25.44 kB / 450.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.217, allocations: 215.2 kB / 450.7 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.217, allocations: 11.09 kB / 450.7 MB, free: 44.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.2171, allocations: 21.34 kB / 450.8 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.2174, allocations: 163.7 kB / 450.9 MB, free: 44.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2174, allocations: 9 kB / 450.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2175, allocations: 5.125 kB / 450.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2175, allocations: 5 kB / 450.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2178, allocations: 123.8 kB / 451.1 MB, free: 44.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.2188, allocations: 0.8854 MB / 451.9 MB, free: 43.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.2191, allocations: 145.8 kB / 452.1 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2193, allocations: 76.42 kB / 452.2 MB, free: 43.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2193, allocations: 4.969 kB / 452.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2193, allocations: 36.78 kB / 452.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2193, allocations: 0 / 452.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007703/0.2201, allocations: 329.5 kB / 452.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2201, allocations: 57.66 kB / 452.6 MB, free: 42.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2203, allocations: 169.9 kB / 452.7 MB, free: 42.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2203, allocations: 32.14 kB / 452.8 MB, free: 42.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.2203, allocations: 131.7 kB / 452.9 MB, free: 42.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.2204, allocations: 66.55 kB / 453 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.2204, allocations: 38.14 kB / 453 MB, free: 42.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.2205, allocations: 322.6 kB / 453.3 MB, free: 42.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2206, allocations: 54.39 kB / 453.4 MB, free: 42.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2208, allocations: 86.44 kB / 453.5 MB, free: 42.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.221, allocations: 159 kB / 453.6 MB, free: 41.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.221, allocations: 4 kB / 453.6 MB, free: 41.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004857/0.2215, allocations: 243.7 kB / 453.8 MB, free: 41.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2216, allocations: 5.812 kB / 453.9 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2216, allocations: 1.156 kB / 453.9 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.2218, allocations: 63.25 kB / 453.9 MB, free: 41.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.222, allocations: 40.28 kB / 454 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.2236, allocations: 3.061 MB / 457 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2238, allocations: 19.03 kB / 457 MB, free: 38.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2238, allocations: 9.875 kB / 457 MB, free: 38.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.2239, allocations: 129.3 kB / 457.2 MB, free: 38.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2239, allocations: 19.81 kB / 457.2 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2239, allocations: 25.98 kB / 457.2 MB, free: 38.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.224, allocations: 5.25 kB / 457.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.224, allocations: 5.297 kB / 457.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.224, allocations: 0 / 457.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2242, allocations: 262.6 kB / 457.5 MB, free: 38.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2242, allocations: 0 / 457.5 MB, free: 38.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2244, allocations: 36.16 kB / 457.5 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.2245, allocations: 30.16 kB / 457.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2246, allocations: 4.906 kB / 457.6 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006623/0.2252, allocations: 1.425 MB / 459 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2252, allocations: 0 / 459 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.2258, allocations: 346.8 kB / 459.3 MB, free: 36.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.2258, allocations: 93.42 kB / 459.4 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2259, allocations: 13.02 kB / 459.4 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.226, allocations: 4.531 kB / 459.4 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2261, allocations: 17.42 kB / 459.4 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2261, allocations: 3.219 kB / 459.4 MB, free: 36.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.2262, allocations: 134.2 kB / 459.6 MB, free: 36.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2262, allocations: 0 / 459.6 MB, free: 36.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.2265, allocations: 59.47 kB / 459.6 MB, free: 36.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (heatCapacitor1.T,heatCapacitor1.E,heatCapacitor2.T,heatCapacitor2.E,heatCapacitor3.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): 13 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000699/0.2272, allocations: 0.8829 MB / 460.5 MB, free: 35.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.2278, allocations: 385.3 kB / 460.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2278, allocations: 0 / 460.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.2281, allocations: 187.6 kB / 461.1 MB, free: 35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2285, allocations: 59.5 kB / 461.1 MB, free: 34.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.2312, allocations: 2.471 MB / 463.6 MB, free: 32.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2313, allocations: 0.732 MB / 464.3 MB, free: 32.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.2314, allocations: 13.56 kB / 464.4 MB, free: 32.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.2315, allocations: 55.41 kB / 464.4 MB, free: 31.99 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2315, allocations: 0 / 464.4 MB, free: 31.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.256, allocations: 4.883 MB / 469.3 MB, free: 27.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/9.338, allocations: 11.98 kB / 469.3 MB, free: 27.22 MB / 318.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_BaseClasses_test_HeatCapacitor.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.BaseClasses.test_HeatCapacitor.pipe 2>&1)