Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001486/0.001486, allocations: 185.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001174/0.001174, allocations: 94.2 kB / 270.9 MB, free: 8.367 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.5302/0.5302, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006749/0.0006749, allocations: 12 kB / 431.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1369, allocations: 58.85 MB / 490.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6326, allocations: 98.3 MB / 0.5748 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/0.6331, allocations: 105.7 kB / 0.5749 GB, free: 4.027 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09765/0.7308, allocations: 21.26 MB / 0.5957 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7308, allocations: 7.938 kB / 0.5957 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.7309, allocations: 8 kB / 0.5957 GB, free: 14.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001809/0.7327, allocations: 0.7396 MB / 0.5964 GB, free: 13.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.7327, allocations: 12.03 kB / 0.5965 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.733, allocations: 94.52 kB / 0.5965 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.7331, allocations: 50.88 kB / 0.5966 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.7338, allocations: 302.3 kB / 0.5969 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.7338, allocations: 37 kB / 0.5969 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.7339, allocations: 48 kB / 0.597 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.7359, allocations: 0.7078 MB / 0.5977 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.736, allocations: 0 / 0.5977 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.7361, allocations: 24.97 kB / 0.5977 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.7362, allocations: 21 kB / 0.5977 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.7381, allocations: 0.5193 MB / 0.5982 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.742, allocations: 1.543 MB / 0.5997 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.7432, allocations: 331.7 kB / 0.6 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.308e-05/0.7433, allocations: 7.953 kB / 0.6 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7434, allocations: 42.5 kB / 0.6001 GB, free: 9.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.338e-06/0.7434, allocations: 0 / 0.6001 GB, free: 9.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.002721/0.7461, allocations: 1.014 MB / 0.6011 GB, free: 8.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.7463, allocations: 102.8 kB / 0.6012 GB, free: 8.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7473, allocations: 0.501 MB / 0.6017 GB, free: 8.172 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.7474, allocations: 29.7 kB / 0.6017 GB, free: 8.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.7476, allocations: 266.8 kB / 0.6019 GB, free: 7.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.7478, allocations: 86.83 kB / 0.602 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.7478, allocations: 4 kB / 0.602 GB, free: 7.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.748, allocations: 322.8 kB / 0.6023 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.7487, allocations: 159.8 kB / 0.6025 GB, free: 7.305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.7495, allocations: 261.5 kB / 0.6027 GB, free: 7.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.7504, allocations: 196.8 kB / 0.6029 GB, free: 6.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.7504, allocations: 0 / 0.6029 GB, free: 6.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001901/0.7524, allocations: 469.9 kB / 0.6034 GB, free: 6.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.7524, allocations: 11.98 kB / 0.6034 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.7526, allocations: 43.91 kB / 0.6034 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.7526, allocations: 7.938 kB / 0.6034 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.753, allocations: 43.95 kB / 0.6035 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.753, allocations: 11.94 kB / 0.6035 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.7537, allocations: 75.34 kB / 0.6036 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.7538, allocations: 20 kB / 0.6036 GB, free: 6.137 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000449/0.7542, allocations: 221.5 kB / 0.6038 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.7544, allocations: 47.34 kB / 0.6038 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.7562, allocations: 493.1 kB / 0.6043 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.7563, allocations: 4 kB / 0.6043 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7563, allocations: 0 / 0.6043 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.7563, allocations: 0 / 0.6043 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.7575, allocations: 405.2 kB / 0.6047 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001261/0.7576, allocations: 39.91 kB / 0.6047 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.758, allocations: 39.91 kB / 0.6048 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.758, allocations: 0 / 0.6048 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.7581, allocations: 15.98 kB / 0.6048 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/0.7581, allocations: 3.953 kB / 0.6048 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/0.7581, allocations: 4 kB / 0.6048 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.7599, allocations: 0.6586 MB / 0.6054 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.7603, allocations: 136.4 kB / 0.6056 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7604, allocations: 7.938 kB / 0.6056 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.7609, allocations: 27.97 kB / 0.6056 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.7611, allocations: 23.97 kB / 0.6056 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.7611, allocations: 15.98 kB / 0.6056 GB, free: 3.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008207/0.762, allocations: 414.7 kB / 0.606 GB, free: 3.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.762, allocations: 0 / 0.606 GB, free: 3.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001203/0.7632, allocations: 187.7 kB / 0.6062 GB, free: 3.328 MB / 426.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00304/0.7663, allocations: 1.535 MB / 0.6077 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.7682, allocations: 0.6841 MB / 0.6084 GB, free: 1.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7683, allocations: 4 kB / 0.6084 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.7693, allocations: 0.4888 MB / 0.6089 GB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.7702, allocations: 85.89 kB / 0.6089 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.7803, allocations: 5.403 MB / 0.6142 GB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.781, allocations: 0.8821 MB / 0.6151 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.7814, allocations: 139.3 kB / 0.6152 GB, free: 9.789 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7814, allocations: 0 / 0.6152 GB, free: 9.789 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.639/3.42, allocations: 11.42 MB / 0.6264 GB, free: 14.39 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat