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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001911/0.001912, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009168/0.0009169, allocations: 86.66 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4761/0.4761, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.95e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 58.84 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5846, allocations: 91.57 MB / 0.5623 GB, free: 13.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5849, allocations: 92.27 kB / 0.5624 GB, free: 13.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02388/0.6088, allocations: 10.08 MB / 0.5723 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.6088, allocations: 0 / 0.5723 GB, free: 5.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.6089, allocations: 4 kB / 0.5723 GB, free: 5.285 MB / 394.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.0005736/0.6095, allocations: 0.504 MB / 0.5728 GB, free: 4.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6095, allocations: 8.031 kB / 0.5728 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.6096, allocations: 69.72 kB / 0.5728 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.6096, allocations: 31.16 kB / 0.5729 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.6099, allocations: 246.8 kB / 0.5731 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6099, allocations: 23.98 kB / 0.5731 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6099, allocations: 23.81 kB / 0.5732 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.6104, allocations: 370.8 kB / 0.5735 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6104, allocations: 0 / 0.5735 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.6105, allocations: 12.69 kB / 0.5735 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.6105, allocations: 20.77 kB / 0.5735 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.6109, allocations: 382.7 kB / 0.5739 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.6121, allocations: 0.8923 MB / 0.5748 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.6125, allocations: 285.8 kB / 0.5751 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.6127, allocations: 92.11 kB / 0.5751 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.6127, allocations: 7.984 kB / 0.5751 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.6127, allocations: 30.56 kB / 0.5752 GB, free: 2.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.6127, allocations: 0 / 0.5752 GB, free: 2.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.000388/0.6131, allocations: 241.3 kB / 0.5754 GB, free: 2.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.6132, allocations: 51.41 kB / 0.5755 GB, free: 2.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.6134, allocations: 316.8 kB / 0.5758 GB, free: 2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.6134, allocations: 29.7 kB / 0.5758 GB, free: 1.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.6135, allocations: 160.8 kB / 0.5759 GB, free: 1.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.6136, allocations: 54.77 kB / 0.576 GB, free: 1.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.6136, allocations: 3.625 kB / 0.576 GB, free: 1.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.6137, allocations: 337.3 kB / 0.5763 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.6138, allocations: 87.98 kB / 0.5764 GB, free: 1.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.6139, allocations: 138.6 kB / 0.5765 GB, free: 1.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.6141, allocations: 105.6 kB / 0.5766 GB, free: 1.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6141, allocations: 0 / 0.5766 GB, free: 1.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003589/0.6144, allocations: 285.9 kB / 0.5769 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6145, allocations: 12.61 kB / 0.5769 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6145, allocations: 3.938 kB / 0.5769 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6145, allocations: 4 kB / 0.5769 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.615, allocations: 115.3 kB / 0.577 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.617, allocations: 3.697 MB / 0.5806 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.6172, allocations: 34.98 kB / 0.5807 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.6173, allocations: 15.55 kB / 0.5807 GB, free: 12.95 MB / 410.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 () * 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.0001156/0.6174, allocations: 120.5 kB / 0.5808 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.6174, allocations: 35.61 kB / 0.5808 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.618, allocations: 327.4 kB / 0.5812 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.618, allocations: 0 / 0.5812 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.618, allocations: 0 / 0.5812 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6181, allocations: 0 / 0.5812 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.6184, allocations: 311.3 kB / 0.5815 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6184, allocations: 3.953 kB / 0.5815 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.619, allocations: 107.2 kB / 0.5816 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.619, allocations: 4 kB / 0.5816 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.619, allocations: 11.36 kB / 0.5816 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.6212, allocations: 3.699 MB / 0.5852 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6212, allocations: 3.938 kB / 0.5852 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.6216, allocations: 339.4 kB / 0.5855 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.6217, allocations: 104.8 kB / 0.5856 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.6218, allocations: 3.688 kB / 0.5856 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6219, allocations: 15.98 kB / 0.5856 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.622, allocations: 12.08 kB / 0.5856 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.622, allocations: 15.36 kB / 0.5857 GB, free: 7.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.6223, allocations: 248.6 kB / 0.5859 GB, free: 7.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6223, allocations: 0 / 0.5859 GB, free: 7.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000371/0.6227, allocations: 82.84 kB / 0.586 GB, free: 7.523 MB / 410.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 () * 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.0009058/0.6236, allocations: 0.9369 MB / 0.5869 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.6244, allocations: 268.8 kB / 0.5871 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6244, allocations: 4.094 kB / 0.5872 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.6249, allocations: 158.5 kB / 0.5873 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.6253, allocations: 56.81 kB / 0.5874 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6263, allocations: 0.5016 MB / 0.5878 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.6268, allocations: 0.8143 MB / 0.5886 GB, free: 4.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.627, allocations: 65.98 kB / 0.5887 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6271, allocations: 80.16 kB / 0.5888 GB, free: 4.738 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.6271, allocations: 4 kB / 0.5888 GB, free: 4.734 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.6513, allocations: 8.429 MB / 0.597 GB, free: 12.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.6516, allocations: 233.8 kB / 0.5972 GB, free: 12.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.798, allocations: 4 kB / 0.5972 GB, free: 12.06 MB / 426.7 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) 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