Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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/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 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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.00119/0.00119, allocations: 95.34 kB / 15.68 MB, free: 488 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.001398/0.001398, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.747/1.747, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3861/0.3861, allocations: 43.54 MB / 314.5 MB, free: 8.996 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.0004972/0.0004973, allocations: 16 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00234/0.1414, allocations: 1.686 MB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1432, allocations: 1.143 MB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.1433, allocations: 4 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1436, allocations: 59.7 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1437, allocations: 51.83 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1442, allocations: 159.6 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.1445, allocations: 283.4 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1446, allocations: 56.95 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1448, allocations: 127.4 kB / 446.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.145, allocations: 147.3 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.145, allocations: 12 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.1455, allocations: 259.7 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1456, allocations: 75.66 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.1456, allocations: 81.52 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1461, allocations: 343.1 kB / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1461, allocations: 0 / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1461, allocations: 0 / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1461, allocations: 0 / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001133/0.1473, allocations: 0.6588 MB / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1473, allocations: 12.03 kB / 448 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.124e-05/0.1474, allocations: 86.5 kB / 448.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.1475, allocations: 47.39 kB / 448.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1479, allocations: 275.4 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.1479, allocations: 32.94 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.148, allocations: 36 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.1489, allocations: 0.5652 MB / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1489, allocations: 0 / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.149, allocations: 19.98 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.149, allocations: 20.98 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.1499, allocations: 439.5 kB / 449.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1517, allocations: 1.304 MB / 450.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.1523, allocations: 311.5 kB / 451.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.1524, allocations: 8 kB / 451.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1524, allocations: 38.56 kB / 451.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.1524, allocations: 0 / 451.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001374/0.1538, allocations: 0.7542 MB / 451.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1539, allocations: 106.8 kB / 452 MB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.1544, allocations: 498 kB / 452.5 MB, free: 3.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1545, allocations: 29.7 kB / 452.5 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1547, allocations: 208.1 kB / 452.7 MB, free: 2.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.1547, allocations: 63.09 kB / 452.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1548, allocations: 8 kB / 452.8 MB, free: 2.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1549, allocations: 354.8 kB / 453.1 MB, free: 2.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.1553, allocations: 156 kB / 453.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.1557, allocations: 234.6 kB / 453.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.1561, allocations: 187.6 kB / 453.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1561, allocations: 4 kB / 453.7 MB, free: 1.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008623/0.157, allocations: 460.9 kB / 454.2 MB, free: 1.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.157, allocations: 8 kB / 454.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/0.1571, allocations: 35.97 kB / 454.2 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1571, allocations: 4 kB / 454.2 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1573, allocations: 35.95 kB / 454.2 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.1573, allocations: 11.89 kB / 454.3 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1576, allocations: 63.55 kB / 454.3 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1576, allocations: 15.98 kB / 454.3 MB, free: 1.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.1579, allocations: 202.4 kB / 454.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.158, allocations: 43.52 kB / 454.6 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.1588, allocations: 436.8 kB / 455 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1588, allocations: 0 / 455 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1588, allocations: 7.938 kB / 455 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1589, allocations: 3.953 kB / 455 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.1594, allocations: 385.2 kB / 455.4 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/0.1595, allocations: 23.98 kB / 455.4 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1597, allocations: 39.97 kB / 455.4 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1597, allocations: 3.938 kB / 455.5 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1597, allocations: 11.98 kB / 455.5 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1597, allocations: 3.938 kB / 455.5 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1597, allocations: 0 / 455.5 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.24/0.3997, allocations: 0.6439 MB / 456.1 MB, free: 46.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3998, allocations: 120 kB / 456.2 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3999, allocations: 2.438 kB / 456.2 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.4003, allocations: 32.7 kB / 456.3 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.4004, allocations: 17.48 kB / 456.3 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4004, allocations: 15.17 kB / 456.3 MB, free: 46.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.4008, allocations: 356.6 kB / 456.6 MB, free: 46.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4008, allocations: 3.75 kB / 456.6 MB, free: 46.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005543/0.4013, allocations: 122.9 kB / 456.8 MB, free: 46.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.4025, allocations: 1.391 MB / 458.2 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.4034, allocations: 0.5895 MB / 458.7 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4034, allocations: 0 / 458.7 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.4038, allocations: 414.2 kB / 459.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.4043, allocations: 85.98 kB / 459.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.4083, allocations: 4.451 MB / 463.7 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.4085, allocations: 0.8537 MB / 464.5 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.4087, allocations: 70.92 kB / 464.6 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4088, allocations: 114.3 kB / 464.7 MB, free: 41.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4088, allocations: 0 / 464.7 MB, free: 41.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.4314, allocations: 10.87 MB / 475.6 MB, free: 41.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.4316, allocations: 241.2 kB / 475.8 MB, free: 40.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.415, allocations: 3.906 kB / 475.8 MB, free: 40.79 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat