Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 102.1 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.563e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.6102, allocations: 91.76 MB / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6106, allocations: 95.94 kB / 0.5915 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.6291, allocations: 6.423 MB / 0.5978 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6292, allocations: 0 / 0.5978 GB, free: 6.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.6292, allocations: 8 kB / 0.5978 GB, free: 6.938 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007653/0.63, allocations: 486.1 kB / 0.5983 GB, free: 6.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.63, allocations: 11.97 kB / 0.5983 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.6301, allocations: 46.55 kB / 0.5983 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.6301, allocations: 23.72 kB / 0.5983 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.6304, allocations: 223.2 kB / 0.5986 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.6305, allocations: 12.19 kB / 0.5986 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.6305, allocations: 12 kB / 0.5986 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.6309, allocations: 230.6 kB / 0.5988 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6309, allocations: 0 / 0.5988 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.631, allocations: 8 kB / 0.5988 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.631, allocations: 16.22 kB / 0.5988 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.6313, allocations: 172.5 kB / 0.599 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.6326, allocations: 0.8218 MB / 0.5998 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.6329, allocations: 163.7 kB / 0.5999 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.633, allocations: 74.47 kB / 0.6 GB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.633, allocations: 8 kB / 0.6 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6331, allocations: 38.69 kB / 0.6001 GB, free: 4.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.6331, allocations: 0 / 0.6001 GB, free: 4.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004394/0.6335, allocations: 177.2 kB / 0.6002 GB, free: 4.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.6336, allocations: 106.8 kB / 0.6003 GB, free: 4.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.6339, allocations: 228.8 kB / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.6339, allocations: 33.77 kB / 0.6006 GB, free: 3.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.6341, allocations: 131.9 kB / 0.6007 GB, free: 3.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.6341, allocations: 35.45 kB / 0.6007 GB, free: 3.648 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.6341, allocations: 4 kB / 0.6007 GB, free: 3.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6343, allocations: 338.7 kB / 0.6011 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6344, allocations: 63.95 kB / 0.6011 GB, free: 3.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.6346, allocations: 105.1 kB / 0.6012 GB, free: 3.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.6347, allocations: 75.95 kB / 0.6013 GB, free: 3.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6347, allocations: 0 / 0.6013 GB, free: 3.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003763/0.6351, allocations: 217.2 kB / 0.6015 GB, free: 2.828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.6351, allocations: 12.14 kB / 0.6015 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.6352, allocations: 8 kB / 0.6015 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6352, allocations: 0 / 0.6015 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.6355, allocations: 43.95 kB / 0.6016 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.6355, allocations: 4 kB / 0.6016 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6358, allocations: 47.72 kB / 0.6016 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.6358, allocations: 8.781 kB / 0.6016 GB, free: 2.707 MB / 410.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: 0 () * 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.0001029/0.6359, allocations: 116.8 kB / 0.6017 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.636, allocations: 19.81 kB / 0.6018 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.6364, allocations: 203.3 kB / 0.6019 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6364, allocations: 0 / 0.6019 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6364, allocations: 0 / 0.6019 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6364, allocations: 4 kB / 0.602 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.6368, allocations: 265.4 kB / 0.6022 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.6368, allocations: 11.98 kB / 0.6022 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.637, allocations: 31.97 kB / 0.6022 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.637, allocations: 0 / 0.6022 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.6371, allocations: 7.984 kB / 0.6023 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6371, allocations: 7.875 kB / 0.6023 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6371, allocations: 4 kB / 0.6023 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.6376, allocations: 442.9 kB / 0.6027 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.6377, allocations: 100.9 kB / 0.6028 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.6377, allocations: 4 kB / 0.6028 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.638, allocations: 31.97 kB / 0.6028 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.638, allocations: 8.078 kB / 0.6028 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.6381, allocations: 11.89 kB / 0.6028 GB, free: 1.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.6383, allocations: 193.3 kB / 0.603 GB, free: 1.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.874e-06/0.6383, allocations: 4 kB / 0.603 GB, free: 1.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.6387, allocations: 79.77 kB / 0.6031 GB, free: 1.086 MB / 410.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.0009969/0.6397, allocations: 1.167 MB / 0.6042 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.6401, allocations: 232.9 kB / 0.6045 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6401, allocations: 0 / 0.6045 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.6403, allocations: 153 kB / 0.6046 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.6407, allocations: 40.91 kB / 0.6046 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6417, allocations: 389.4 kB / 0.605 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6421, allocations: 0.7516 MB / 0.6058 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.6422, allocations: 41.89 kB / 0.6058 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.94e-05/0.6423, allocations: 51.42 kB / 0.6058 GB, free: 14.14 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6423, allocations: 0 / 0.6058 GB, free: 14.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.6599, allocations: 5.372 MB / 0.6111 GB, free: 8.93 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.6602, allocations: 187.6 kB / 0.6113 GB, free: 8.707 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.445, allocations: 2.188 kB / 0.6113 GB, free: 8.707 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat