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.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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 174.9 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.825/1.825, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001068/0.001068, allocations: 82.66 kB / 261.7 MB, free: 1.684 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.2429/0.2429, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.053e-05, allocations: 0 / 418.4 MB, free: 28.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 58.85 MB / 477.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5961, allocations: 93.31 MB / 0.5572 GB, free: 1.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5964, allocations: 104.3 kB / 0.5573 GB, free: 1.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03614/0.6326, allocations: 13.54 MB / 0.5705 GB, free: 6.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6327, allocations: 4 kB / 0.5705 GB, free: 6.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.6327, allocations: 4.938 kB / 0.5705 GB, free: 6.156 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001024/0.6337, allocations: 0.63 MB / 0.5711 GB, free: 5.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.6338, allocations: 16.02 kB / 0.5711 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.6339, allocations: 43.48 kB / 0.5712 GB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.6343, allocations: 279 kB / 0.5714 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.6343, allocations: 12 kB / 0.5714 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.6344, allocations: 20 kB / 0.5715 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005071/0.6349, allocations: 321.9 kB / 0.5718 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.6356, allocations: 481.8 kB / 0.5722 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6356, allocations: 0 / 0.5722 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.6357, allocations: 7.938 kB / 0.5722 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.6357, allocations: 20.73 kB / 0.5723 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.6375, allocations: 1.162 MB / 0.5734 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.6379, allocations: 255.4 kB / 0.5736 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.6381, allocations: 128.9 kB / 0.5738 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.6381, allocations: 7.984 kB / 0.5738 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6382, allocations: 38.56 kB / 0.5738 GB, free: 2.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.6382, allocations: 0 / 0.5738 GB, free: 2.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006073/0.6388, allocations: 286.2 kB / 0.5741 GB, free: 2.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.6389, allocations: 106.4 kB / 0.5742 GB, free: 2.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.6391, allocations: 204.8 kB / 0.5744 GB, free: 2.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.6392, allocations: 25.7 kB / 0.5744 GB, free: 2.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.6393, allocations: 230.4 kB / 0.5746 GB, free: 2.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.6394, allocations: 56.33 kB / 0.5747 GB, free: 2.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.6394, allocations: 0 / 0.5747 GB, free: 2.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6395, allocations: 332.6 kB / 0.575 GB, free: 1.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.6398, allocations: 108.2 kB / 0.5751 GB, free: 1.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.64, allocations: 189.7 kB / 0.5753 GB, free: 1.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.6402, allocations: 140.4 kB / 0.5754 GB, free: 1.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6402, allocations: 0 / 0.5754 GB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005492/0.6408, allocations: 344 kB / 0.5757 GB, free: 1.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6408, allocations: 4 kB / 0.5757 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.007e-05/0.6409, allocations: 35.91 kB / 0.5758 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6409, allocations: 8.344 kB / 0.5758 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.6412, allocations: 39.91 kB / 0.5758 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.6412, allocations: 4 kB / 0.5758 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.6414, allocations: 39 kB / 0.5759 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.6415, allocations: 15.95 kB / 0.5759 GB, free: 0.9492 MB / 378.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 () * 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.0001313/0.6416, allocations: 124.3 kB / 0.576 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005104/0.6421, allocations: 279.9 kB / 0.5763 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.6422, allocations: 23.7 kB / 0.5763 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.6429, allocations: 383.8 kB / 0.5767 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.643, allocations: 4 kB / 0.5767 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.643, allocations: 3.953 kB / 0.5767 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.643, allocations: 8.062 kB / 0.5767 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.6435, allocations: 331.3 kB / 0.577 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.436e-05/0.6436, allocations: 39.84 kB / 0.577 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.6438, allocations: 31.34 kB / 0.5771 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.6438, allocations: 4 kB / 0.5771 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.6438, allocations: 7.984 kB / 0.5771 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6439, allocations: 4 kB / 0.5771 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6439, allocations: 0 / 0.5771 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.6445, allocations: 0.5459 MB / 0.5776 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.6446, allocations: 96.84 kB / 0.5777 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.6446, allocations: 0 / 0.5777 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.6449, allocations: 27.94 kB / 0.5777 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.645, allocations: 27.47 kB / 0.5777 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.645, allocations: 15.94 kB / 0.5778 GB, free: 15.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.6451, allocations: 159.2 kB / 0.5779 GB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6451, allocations: 0 / 0.5779 GB, free: 14.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006766/0.6458, allocations: 146.8 kB / 0.5781 GB, free: 14.8 MB / 394.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 (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.001299/0.6471, allocations: 1.34 MB / 0.5794 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007065/0.6478, allocations: 499.8 kB / 0.5798 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6479, allocations: 0 / 0.5798 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.6482, allocations: 366.6 kB / 0.5802 GB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.6486, allocations: 28.3 kB / 0.5802 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.6501, allocations: 0.6531 MB / 0.5809 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.6505, allocations: 0.858 MB / 0.5817 GB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.6507, allocations: 33.3 kB / 0.5817 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.6508, allocations: 104.1 kB / 0.5818 GB, free: 10.95 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6508, allocations: 0 / 0.5818 GB, free: 10.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.6806, allocations: 7.11 MB / 0.5888 GB, free: 3.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.6809, allocations: 189.9 kB / 0.5889 GB, free: 3.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.538, allocations: 2.969 kB / 0.5889 GB, free: 3.652 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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_res.mat does not exist to compare? outputFormat=mat