Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_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_trunk_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/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009138/0.0009137, allocations: 98.52 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3246/0.3246, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 4 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 63.24 MB / 0.5193 GB, free: 43.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4919, allocations: 96.25 MB / 0.6133 GB, free: 9.332 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/0.4924, allocations: 103.9 kB / 0.6134 GB, free: 9.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07285/0.5653, allocations: 14.11 MB / 0.6272 GB, free: 11.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.5653, allocations: 0 / 0.6272 GB, free: 11.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.5654, allocations: 4 kB / 0.6272 GB, free: 11.05 MB / 442.7 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.001635/0.567, allocations: 0.6704 MB / 0.6278 GB, free: 10.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.5671, allocations: 12.02 kB / 0.6278 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.5673, allocations: 78.53 kB / 0.6279 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/0.568, allocations: 87.44 kB / 0.628 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.5686, allocations: 275.4 kB / 0.6282 GB, free: 9.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.5687, allocations: 32.94 kB / 0.6283 GB, free: 9.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.5688, allocations: 39.98 kB / 0.6283 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5706, allocations: 0.5652 MB / 0.6289 GB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5706, allocations: 0 / 0.6289 GB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.5707, allocations: 16 kB / 0.6289 GB, free: 9.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.5708, allocations: 24.95 kB / 0.6289 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.5724, allocations: 439.6 kB / 0.6293 GB, free: 8.715 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.576, allocations: 1.308 MB / 0.6306 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5771, allocations: 311.5 kB / 0.6309 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.5772, allocations: 11.92 kB / 0.6309 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5772, allocations: 38.56 kB / 0.6309 GB, free: 6.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 3.025e-06/0.5772, allocations: 0 / 0.6309 GB, free: 6.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0025/0.5798, allocations: 0.7514 MB / 0.6317 GB, free: 6.145 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.5798, allocations: 102.8 kB / 0.6318 GB, free: 6.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.5806, allocations: 457 kB / 0.6322 GB, free: 5.566 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.5807, allocations: 33.7 kB / 0.6322 GB, free: 5.527 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.581, allocations: 212.2 kB / 0.6324 GB, free: 5.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.5811, allocations: 55.2 kB / 0.6325 GB, free: 5.262 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.5811, allocations: 0 / 0.6325 GB, free: 5.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5813, allocations: 354.8 kB / 0.6328 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.5819, allocations: 156.1 kB / 0.633 GB, free: 4.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.5825, allocations: 238.5 kB / 0.6332 GB, free: 4.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.5831, allocations: 182 kB / 0.6334 GB, free: 4.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5831, allocations: 4 kB / 0.6334 GB, free: 4.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001515/0.5846, allocations: 460.6 kB / 0.6338 GB, free: 3.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5847, allocations: 7.984 kB / 0.6338 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-05/0.5848, allocations: 27.98 kB / 0.6339 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5848, allocations: 4.312 kB / 0.6339 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.5851, allocations: 51.89 kB / 0.6339 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5851, allocations: 7.953 kB / 0.6339 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.5856, allocations: 59.42 kB / 0.634 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.5856, allocations: 19.98 kB / 0.634 GB, free: 3.668 MB / 442.7 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.0003046/0.5859, allocations: 205.6 kB / 0.6342 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5861, allocations: 35.53 kB / 0.6342 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.5873, allocations: 438.7 kB / 0.6347 GB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5873, allocations: 4 kB / 0.6347 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5873, allocations: 0 / 0.6347 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5873, allocations: 11.94 kB / 0.6347 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.5882, allocations: 373.3 kB / 0.635 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.519e-05/0.5882, allocations: 27.98 kB / 0.635 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.5885, allocations: 27.97 kB / 0.6351 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.5885, allocations: 8 kB / 0.6351 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.5885, allocations: 11.98 kB / 0.6351 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.5885, allocations: 7.984 kB / 0.6351 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5886, allocations: 0 / 0.6351 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5897, allocations: 0.6476 MB / 0.6357 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5898, allocations: 120.6 kB / 0.6358 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.5899, allocations: 8 kB / 0.6359 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.5902, allocations: 27.88 kB / 0.6359 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.5903, allocations: 19.97 kB / 0.6359 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.5903, allocations: 15.98 kB / 0.6359 GB, free: 1.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003719/0.5907, allocations: 359.1 kB / 0.6363 GB, free: 1.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5907, allocations: 0 / 0.6363 GB, free: 1.262 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000605/0.5913, allocations: 139.8 kB / 0.6364 GB, free: 1.125 MB / 442.7 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.001581/0.5929, allocations: 1.443 MB / 0.6378 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009785/0.5939, allocations: 0.5853 MB / 0.6384 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5939, allocations: 0 / 0.6384 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.5944, allocations: 411.3 kB / 0.6388 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.5949, allocations: 91.45 kB / 0.6389 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.5997, allocations: 4.463 MB / 0.6432 GB, free: 9.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.6002, allocations: 0.8539 MB / 0.644 GB, free: 9.027 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.6004, allocations: 63.23 kB / 0.6441 GB, free: 8.961 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.6006, allocations: 111.4 kB / 0.6442 GB, free: 8.852 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6006, allocations: 4 kB / 0.6442 GB, free: 8.848 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6256, allocations: 11.58 MB / 0.6555 GB, free: 13.51 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.6258, allocations: 242.3 kB / 0.6558 GB, free: 13.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.856, allocations: 0 / 0.6558 GB, free: 13.27 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat