Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001498/0.001498, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 86.62 kB / 261.7 MB, free: 1.68 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.2457/0.2457, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.938e-05, allocations: 0 / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/0.6441, allocations: 91.37 MB / 0.5553 GB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.6445, allocations: 97.22 kB / 0.5554 GB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02535/0.6699, allocations: 9.641 MB / 0.5648 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.67, allocations: 0 / 0.5648 GB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.67, allocations: 7.812 kB / 0.5648 GB, free: 11.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008874/0.6709, allocations: 0.5019 MB / 0.5653 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.6709, allocations: 8.031 kB / 0.5653 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.671, allocations: 32 kB / 0.5653 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.6713, allocations: 218.4 kB / 0.5655 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.6714, allocations: 8 kB / 0.5655 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.6714, allocations: 8 kB / 0.5655 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002807/0.6717, allocations: 138.4 kB / 0.5657 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.6721, allocations: 226.4 kB / 0.5659 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6721, allocations: 0 / 0.5659 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.6721, allocations: 0 / 0.5659 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.6722, allocations: 11.98 kB / 0.5659 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.6734, allocations: 0.715 MB / 0.5666 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.6738, allocations: 198.2 kB / 0.5668 GB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.674, allocations: 70.27 kB / 0.5669 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.674, allocations: 11.64 kB / 0.5669 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.6741, allocations: 30.56 kB / 0.5669 GB, free: 9.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.6741, allocations: 0 / 0.5669 GB, free: 9.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004478/0.6745, allocations: 164.8 kB / 0.5671 GB, free: 9.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.6746, allocations: 110.9 kB / 0.5672 GB, free: 9.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.6748, allocations: 160.9 kB / 0.5673 GB, free: 8.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6748, allocations: 25.7 kB / 0.5673 GB, free: 8.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.675, allocations: 151.1 kB / 0.5675 GB, free: 8.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.675, allocations: 39.05 kB / 0.5675 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.675, allocations: 0 / 0.5675 GB, free: 8.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6752, allocations: 334.1 kB / 0.5678 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/0.6753, allocations: 51.22 kB / 0.5679 GB, free: 8.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.6754, allocations: 96.8 kB / 0.568 GB, free: 8.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.6756, allocations: 63.56 kB / 0.568 GB, free: 8.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6756, allocations: 4 kB / 0.568 GB, free: 8.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003225/0.6759, allocations: 192.2 kB / 0.5682 GB, free: 8.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6759, allocations: 4 kB / 0.5682 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/0.676, allocations: 15.94 kB / 0.5682 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.676, allocations: 4 kB / 0.5683 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.6762, allocations: 35.97 kB / 0.5683 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6762, allocations: 4.281 kB / 0.5683 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.6764, allocations: 43.69 kB / 0.5683 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.6765, allocations: 7.938 kB / 0.5683 GB, free: 7.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001133/0.6766, allocations: 105 kB / 0.5684 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003082/0.6769, allocations: 164.5 kB / 0.5686 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.677, allocations: 27.73 kB / 0.5686 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.6774, allocations: 190.4 kB / 0.5688 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6774, allocations: 0 / 0.5688 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6774, allocations: 4 kB / 0.5688 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6774, allocations: 0 / 0.5688 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.6778, allocations: 237 kB / 0.569 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.6778, allocations: 11.98 kB / 0.569 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.678, allocations: 39.97 kB / 0.5691 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.678, allocations: 0 / 0.5691 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.678, allocations: 11.94 kB / 0.5691 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.678, allocations: 0 / 0.5691 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.678, allocations: 0 / 0.5691 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.6784, allocations: 436.5 kB / 0.5695 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.6785, allocations: 96.91 kB / 0.5696 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.6785, allocations: 0 / 0.5696 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6788, allocations: 19.98 kB / 0.5696 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.6788, allocations: 11.92 kB / 0.5696 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.6789, allocations: 11.98 kB / 0.5696 GB, free: 6.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.679, allocations: 131.4 kB / 0.5698 GB, free: 6.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.679, allocations: 0 / 0.5698 GB, free: 6.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.6795, allocations: 83.78 kB / 0.5699 GB, free: 6.414 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001019/0.6805, allocations: 1.186 MB / 0.571 GB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.6809, allocations: 212 kB / 0.5712 GB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6809, allocations: 0 / 0.5712 GB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.6811, allocations: 152.6 kB / 0.5714 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.6814, allocations: 24.55 kB / 0.5714 GB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.6824, allocations: 379.2 kB / 0.5717 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.6828, allocations: 0.7664 MB / 0.5725 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.683, allocations: 28.73 kB / 0.5725 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6831, allocations: 59.27 kB / 0.5726 GB, free: 3.605 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6831, allocations: 0 / 0.5726 GB, free: 3.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.7189, allocations: 4.351 MB / 0.5768 GB, free: 15.26 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/0.7194, allocations: 183.4 kB / 0.577 GB, free: 15.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.491, allocations: 6.344 kB / 0.577 GB, free: 15.07 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat