Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.2 MB / 245 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008453/0.0008453, allocations: 98.2 kB / 297.2 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4014/0.4014, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002396, allocations: 8.219 kB / 468.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4142, allocations: 63.25 MB / 0.5193 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.5424, allocations: 95.59 MB / 0.6126 GB, free: 7.805 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5427, allocations: 99.84 kB / 0.6127 GB, free: 7.711 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03353/0.5763, allocations: 12.18 MB / 0.6246 GB, free: 11.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5763, allocations: 0 / 0.6246 GB, free: 11.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.5763, allocations: 4 kB / 0.6246 GB, free: 11.34 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001029/0.5774, allocations: 0.6276 MB / 0.6252 GB, free: 10.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5774, allocations: 12.03 kB / 0.6253 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.5776, allocations: 98.5 kB / 0.6254 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.5777, allocations: 47.44 kB / 0.6254 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.5781, allocations: 296.5 kB / 0.6257 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.5782, allocations: 33 kB / 0.6257 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.5783, allocations: 47.98 kB / 0.6258 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5793, allocations: 0.6406 MB / 0.6264 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5793, allocations: 0 / 0.6264 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.5794, allocations: 16 kB / 0.6264 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.5794, allocations: 45.28 kB / 0.6264 GB, free: 9.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5806, allocations: 0.7038 MB / 0.6271 GB, free: 8.688 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.5828, allocations: 1.383 MB / 0.6285 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.5835, allocations: 448.4 kB / 0.6289 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.5836, allocations: 12.2 kB / 0.6289 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5836, allocations: 38.8 kB / 0.629 GB, free: 6.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.5836, allocations: 0 / 0.629 GB, free: 6.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001124/0.5848, allocations: 0.5347 MB / 0.6295 GB, free: 6.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5848, allocations: 63.41 kB / 0.6295 GB, free: 6.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.5854, allocations: 444.6 kB / 0.63 GB, free: 5.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5854, allocations: 29.7 kB / 0.63 GB, free: 5.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.5856, allocations: 220.3 kB / 0.6302 GB, free: 5.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5857, allocations: 98.58 kB / 0.6303 GB, free: 5.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.5858, allocations: 8 kB / 0.6303 GB, free: 5.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5859, allocations: 354.7 kB / 0.6306 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.5862, allocations: 164.7 kB / 0.6308 GB, free: 4.801 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.5866, allocations: 244.3 kB / 0.631 GB, free: 4.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.587, allocations: 200.7 kB / 0.6312 GB, free: 4.328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5871, allocations: 0 / 0.6312 GB, free: 4.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009006/0.588, allocations: 0.4927 MB / 0.6317 GB, free: 3.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.588, allocations: 4 kB / 0.6317 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.588, allocations: 4 kB / 0.6317 GB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.588, allocations: 4 kB / 0.6317 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.589, allocations: 204.1 kB / 0.6319 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.5932, allocations: 7.294 MB / 0.639 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.5936, allocations: 59.7 kB / 0.6391 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.5937, allocations: 19.98 kB / 0.6391 GB, free: 11.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.594, allocations: 222.2 kB / 0.6393 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.5941, allocations: 39.53 kB / 0.6394 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.5952, allocations: 0.5325 MB / 0.6399 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.5953, allocations: 7.953 kB / 0.6399 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5953, allocations: 4 kB / 0.6399 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5953, allocations: 112 / 0.6399 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.5959, allocations: 409.2 kB / 0.6403 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5959, allocations: 3.984 kB / 0.6403 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008829/0.5968, allocations: 199.7 kB / 0.6405 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.5968, allocations: 4 kB / 0.6405 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.5969, allocations: 11.98 kB / 0.6405 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.6009, allocations: 7.294 MB / 0.6476 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.601, allocations: 0 / 0.6476 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.6017, allocations: 0.5037 MB / 0.6481 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.6019, allocations: 124.7 kB / 0.6482 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.602, allocations: 4 kB / 0.6482 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6022, allocations: 19.94 kB / 0.6482 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.6023, allocations: 23.95 kB / 0.6483 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6023, allocations: 11.98 kB / 0.6483 GB, free: 2.188 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.6027, allocations: 355.1 kB / 0.6486 GB, free: 1.844 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6027, allocations: 0 / 0.6486 GB, free: 1.844 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.6034, allocations: 135.8 kB / 0.6487 GB, free: 1.711 MB / 458.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.6048, allocations: 1.107 MB / 0.6498 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.6063, allocations: 0.4883 MB / 0.6503 GB, free: 92 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6063, allocations: 0 / 0.6503 GB, free: 92 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.6073, allocations: 308.5 kB / 0.6506 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.6078, allocations: 101.4 kB / 0.6507 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.6134, allocations: 4.776 MB / 0.6554 GB, free: 10.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.6139, allocations: 0.8935 MB / 0.6562 GB, free: 9.891 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.6142, allocations: 140 kB / 0.6564 GB, free: 9.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.6144, allocations: 131.4 kB / 0.6565 GB, free: 9.625 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6144, allocations: 0 / 0.6565 GB, free: 9.625 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.646, allocations: 12.86 MB / 0.6691 GB, free: 13.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.6463, allocations: 260.3 kB / 0.6693 GB, free: 12.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.105, allocations: 0 / 0.6693 GB, free: 12.71 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat