Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002252/0.002257, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 90.88 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3359/0.3359, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 8 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 58.87 MB / 490.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003026/0.1262, allocations: 1.615 MB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1282, allocations: 0.7534 MB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1284, allocations: 4 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1287, allocations: 59.66 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.1291, allocations: 75.78 kB / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1295, allocations: 71.78 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1299, allocations: 187.6 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.13, allocations: 32.38 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1302, allocations: 99.56 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1305, allocations: 107.5 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.1305, allocations: 8 kB / 493.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.131, allocations: 123.8 kB / 493.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1311, allocations: 55.81 kB / 493.5 MB, free: 6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1312, allocations: 65.58 kB / 493.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.1317, allocations: 219.7 kB / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1317, allocations: 0 / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1317, allocations: 0 / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1317, allocations: 0 / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001188/0.1329, allocations: 0.5107 MB / 494.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.133, allocations: 8.031 kB / 494.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.1331, allocations: 66.53 kB / 494.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.1332, allocations: 35.58 kB / 494.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1336, allocations: 247.2 kB / 494.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1337, allocations: 20.56 kB / 494.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.1338, allocations: 23.98 kB / 494.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1348, allocations: 389.2 kB / 495.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1349, allocations: 3.938 kB / 495.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.1349, allocations: 12 kB / 495.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/0.135, allocations: 32.56 kB / 495.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1363, allocations: 418.3 kB / 495.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.1385, allocations: 0.893 MB / 496.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1397, allocations: 302.1 kB / 496.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.1398, allocations: 4.281 kB / 496.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1398, allocations: 34.56 kB / 496.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 7.404e-06/0.1398, allocations: 3.984 kB / 496.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001396/0.1412, allocations: 377 kB / 497.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1413, allocations: 51.41 kB / 497.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.1419, allocations: 347.2 kB / 497.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.142, allocations: 33.7 kB / 497.6 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1422, allocations: 206.6 kB / 497.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.1423, allocations: 55.36 kB / 497.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.1423, allocations: 4 kB / 497.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1424, allocations: 326.8 kB / 498.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.1429, allocations: 100.3 kB / 498.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.1433, allocations: 154.6 kB / 498.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.1438, allocations: 115.9 kB / 498.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.1438, allocations: 3.953 kB / 498.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001004/0.1448, allocations: 313.1 kB / 498.8 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1449, allocations: 8 kB / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1449, allocations: 0 / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.1449, allocations: 4.188 kB / 498.8 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.146, allocations: 111.9 kB / 498.9 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.1491, allocations: 3.704 MB / 0.4909 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.1495, allocations: 39.7 kB / 0.4909 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.1495, allocations: 12 kB / 0.4909 GB, free: 12.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.1499, allocations: 185.6 kB / 0.4911 GB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.15, allocations: 27.62 kB / 0.4911 GB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1512, allocations: 354.4 kB / 0.4914 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1512, allocations: 3.938 kB / 0.4914 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1513, allocations: 3.938 kB / 0.4915 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1513, allocations: 4 kB / 0.4915 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.1519, allocations: 309.3 kB / 0.4917 GB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1519, allocations: 4 kB / 0.4918 GB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.153, allocations: 111.8 kB / 0.4919 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.153, allocations: 0 / 0.4919 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.153, allocations: 11.98 kB / 0.4919 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.1561, allocations: 3.7 MB / 0.4955 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1561, allocations: 0 / 0.4955 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1571, allocations: 375.5 kB / 0.4958 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1573, allocations: 104.8 kB / 0.4959 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.1574, allocations: 4 kB / 0.4959 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1577, allocations: 8 kB / 0.496 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1578, allocations: 15.97 kB / 0.496 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.1579, allocations: 8 kB / 0.496 GB, free: 7.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004288/0.1583, allocations: 253.9 kB / 0.4962 GB, free: 6.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1583, allocations: 0 / 0.4962 GB, free: 6.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005659/0.1589, allocations: 75.89 kB / 0.4963 GB, free: 6.688 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/0.1606, allocations: 0.9385 MB / 0.4972 GB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.1625, allocations: 333.7 kB / 0.4975 GB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.1626, allocations: 0 / 0.4975 GB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.1639, allocations: 208.1 kB / 0.4977 GB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1645, allocations: 56.55 kB / 0.4978 GB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.1699, allocations: 2.904 MB / 0.5006 GB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.1705, allocations: 0.7988 MB / 0.5014 GB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.1707, allocations: 83.39 kB / 0.5015 GB, free: 1.246 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1708, allocations: 0 / 0.5015 GB, free: 1.246 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.02/3.191, allocations: 12.23 MB / 0.5134 GB, free: 5.02 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat