Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002446/0.002452, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.169/2.169, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001114/0.001113, allocations: 78.66 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2843/0.2843, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.795e-05, allocations: 7.938 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.6101, allocations: 93.97 MB / 0.5647 GB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.6106, allocations: 97.09 kB / 0.5648 GB, free: 9.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06421/0.6748, allocations: 13.7 MB / 0.5782 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.402e-06/0.6749, allocations: 0 / 0.5782 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.6749, allocations: 7.938 kB / 0.5782 GB, free: 13.53 MB / 394.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.001454/0.6764, allocations: 0.627 MB / 0.5788 GB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.6764, allocations: 12.03 kB / 0.5788 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.6766, allocations: 83.59 kB / 0.5789 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.6767, allocations: 43.48 kB / 0.5789 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.6773, allocations: 285.1 kB / 0.5792 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.6773, allocations: 28.03 kB / 0.5792 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.6774, allocations: 34.69 kB / 0.5792 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.6787, allocations: 0.5207 MB / 0.5797 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6788, allocations: 0 / 0.5797 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.6789, allocations: 18.19 kB / 0.5798 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.6789, allocations: 16.78 kB / 0.5798 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.6799, allocations: 358.4 kB / 0.5801 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.6831, allocations: 1.308 MB / 0.5814 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.6839, allocations: 272.1 kB / 0.5817 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.6843, allocations: 128.2 kB / 0.5818 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.6844, allocations: 7.984 kB / 0.5818 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.6844, allocations: 41.94 kB / 0.5818 GB, free: 10.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.808e-06/0.6844, allocations: 0 / 0.5818 GB, free: 10.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.6855, allocations: 312.7 kB / 0.5821 GB, free: 9.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.6856, allocations: 106.8 kB / 0.5822 GB, free: 9.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.6865, allocations: 446.5 kB / 0.5827 GB, free: 9.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.6866, allocations: 25.7 kB / 0.5827 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.6868, allocations: 251 kB / 0.5829 GB, free: 9.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.6869, allocations: 66.67 kB / 0.583 GB, free: 9.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.6869, allocations: 3.688 kB / 0.583 GB, free: 9.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6871, allocations: 318.5 kB / 0.5833 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.6874, allocations: 113.9 kB / 0.5834 GB, free: 8.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.6879, allocations: 193.3 kB / 0.5836 GB, free: 8.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.6883, allocations: 151.6 kB / 0.5837 GB, free: 8.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6883, allocations: 0 / 0.5837 GB, free: 8.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001049/0.6894, allocations: 346.5 kB / 0.5841 GB, free: 7.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6894, allocations: 8 kB / 0.5841 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.6896, allocations: 36.25 kB / 0.5841 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.6896, allocations: 8 kB / 0.5841 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.69, allocations: 42.97 kB / 0.5841 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.69, allocations: 7.953 kB / 0.5842 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.6906, allocations: 62.41 kB / 0.5842 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.6907, allocations: 20 kB / 0.5842 GB, free: 7.82 MB / 394.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.0001677/0.6908, allocations: 123.2 kB / 0.5844 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.691, allocations: 39.53 kB / 0.5844 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6923, allocations: 400.2 kB / 0.5848 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6923, allocations: 4 kB / 0.5848 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6924, allocations: 4 kB / 0.5848 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6924, allocations: 3.953 kB / 0.5848 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.6933, allocations: 376.3 kB / 0.5851 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.854e-05/0.6934, allocations: 27.97 kB / 0.5852 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.6938, allocations: 38.66 kB / 0.5852 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.6938, allocations: 0 / 0.5852 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.6938, allocations: 11.98 kB / 0.5852 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6939, allocations: 0 / 0.5852 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6939, allocations: 0 / 0.5852 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.695, allocations: 0.5737 MB / 0.5858 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.6952, allocations: 120.6 kB / 0.5859 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.6953, allocations: 0 / 0.5859 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.6958, allocations: 35.86 kB / 0.5859 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6959, allocations: 27.28 kB / 0.586 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.6959, allocations: 8 kB / 0.586 GB, free: 6.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000637/0.6966, allocations: 351.1 kB / 0.5863 GB, free: 5.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6966, allocations: 4 kB / 0.5863 GB, free: 5.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008675/0.6975, allocations: 128.8 kB / 0.5864 GB, free: 5.691 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.001986/0.6995, allocations: 1.357 MB / 0.5877 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.7006, allocations: 0.5049 MB / 0.5882 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.7006, allocations: 0 / 0.5882 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.7012, allocations: 371.2 kB / 0.5886 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.7021, allocations: 87.48 kB / 0.5887 GB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.7047, allocations: 0.7276 MB / 0.5894 GB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.7054, allocations: 0.8559 MB / 0.5902 GB, free: 1.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.7056, allocations: 110.3 kB / 0.5903 GB, free: 1.727 MB / 394.7 MB Notification: Performance of SimCode: time 1.011e-06/0.7056, allocations: 0 / 0.5903 GB, free: 1.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.452, allocations: 9.425 MB / 0.5995 GB, free: 8.352 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat