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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.53 kB / 15.69 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.001476/0.001476, allocations: 173.6 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.75/1.75, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.4107/0.4107, allocations: 43.55 MB / 314.5 MB, free: 8.594 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.0005564/0.0005568, allocations: 12 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 58.85 MB / 442.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002753/0.146, allocations: 1.627 MB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.148, allocations: 0.7573 MB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1483, allocations: 0 / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1488, allocations: 59.7 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1493, allocations: 79.73 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1496, allocations: 55.86 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.15, allocations: 195.5 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.1501, allocations: 36.38 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.1504, allocations: 91.56 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1506, allocations: 111.5 kB / 445.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.1507, allocations: 4 kB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.151, allocations: 123.9 kB / 446 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.1511, allocations: 63.73 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.1512, allocations: 61.58 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1516, allocations: 211.8 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1516, allocations: 0 / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1516, allocations: 0 / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1516, allocations: 0 / 446.3 MB, free: 9.508 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009009/0.1525, allocations: 0.5301 MB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1526, allocations: 8.031 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.1527, allocations: 66.53 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.1528, allocations: 31.58 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1531, allocations: 243.2 kB / 447.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1532, allocations: 16.56 kB / 447.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.1532, allocations: 27.98 kB / 447.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.1539, allocations: 397.2 kB / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1539, allocations: 0 / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1539, allocations: 12 kB / 447.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.154, allocations: 24.64 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.1548, allocations: 430.1 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1563, allocations: 0.8891 MB / 449 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.1569, allocations: 302.2 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.157, allocations: 8 kB / 449.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.157, allocations: 30.56 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.157, allocations: 0 / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007827/0.1578, allocations: 369 kB / 449.7 MB, free: 5.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1578, allocations: 55.69 kB / 449.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.1582, allocations: 351.1 kB / 450.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.1583, allocations: 33.7 kB / 450.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1584, allocations: 160.3 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.1585, allocations: 55.2 kB / 450.3 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.1585, allocations: 0 / 450.3 MB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1587, allocations: 342.8 kB / 450.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1589, allocations: 108.2 kB / 450.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1592, allocations: 158.7 kB / 450.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1594, allocations: 123.7 kB / 451 MB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1595, allocations: 0 / 451 MB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005937/0.1601, allocations: 317 kB / 451.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.1601, allocations: 11.98 kB / 451.3 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1601, allocations: 0 / 451.3 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1601, allocations: 4 kB / 451.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.1607, allocations: 115.8 kB / 451.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.1632, allocations: 3.704 MB / 455.2 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1635, allocations: 35.62 kB / 455.2 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.1635, allocations: 16.23 kB / 455.2 MB, free: 236 kB / 382.1 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.0002364/0.1637, allocations: 181.7 kB / 455.4 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.1638, allocations: 19.72 kB / 455.4 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2361/0.3999, allocations: 354.5 kB / 455.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3999, allocations: 3 kB / 455.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3999, allocations: 2.516 kB / 455.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3999, allocations: 3.422 kB / 455.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.4003, allocations: 310.9 kB / 456.1 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4003, allocations: 0 / 456.1 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.4008, allocations: 107.5 kB / 456.2 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4008, allocations: 0 / 456.2 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4008, allocations: 16.38 kB / 456.2 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.402, allocations: 3.704 MB / 459.9 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.402, allocations: 0 / 459.9 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.4025, allocations: 369.4 kB / 460.3 MB, free: 43.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.4026, allocations: 107.4 kB / 460.4 MB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4026, allocations: 4.672 kB / 460.4 MB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4028, allocations: 11.09 kB / 460.4 MB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.4029, allocations: 24.36 kB / 460.4 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4029, allocations: 9.922 kB / 460.4 MB, free: 43.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.4031, allocations: 251.7 kB / 460.7 MB, free: 43.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4031, allocations: 0 / 460.7 MB, free: 43.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.4035, allocations: 67.03 kB / 460.7 MB, free: 43.18 MB / 382.1 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.0007931/0.4043, allocations: 0.9418 MB / 461.7 MB, free: 42.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.4052, allocations: 328.8 kB / 462 MB, free: 42.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4052, allocations: 2.781 kB / 462 MB, free: 42.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.4058, allocations: 206.5 kB / 462.2 MB, free: 42.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4061, allocations: 59.8 kB / 462.2 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4088, allocations: 2.873 MB / 465.1 MB, free: 41.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.409, allocations: 0.8101 MB / 465.9 MB, free: 40.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.4092, allocations: 66.47 kB / 466 MB, free: 40.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.4093, allocations: 79 kB / 466.1 MB, free: 40.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4093, allocations: 0 / 466.1 MB, free: 40.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.4272, allocations: 7.645 MB / 473.7 MB, free: 39.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.4274, allocations: 265.4 kB / 474 MB, free: 39.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.48, allocations: 0 / 474 MB, free: 39.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC_res.mat does not exist to compare? outputFormat=mat