Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.0023/0.002299, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001153/0.001153, allocations: 97.48 kB / 270.9 MB, free: 8.383 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.5707/0.5707, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006731/0.000673, allocations: 8 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1549, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6412, allocations: 91.84 MB / 0.5685 GB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/0.6416, allocations: 99.92 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04508/0.6867, allocations: 9.409 MB / 0.5778 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6868, allocations: 0 / 0.5778 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.6868, allocations: 8 kB / 0.5778 GB, free: 0.8945 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001273/0.6881, allocations: 0.5847 MB / 0.5784 GB, free: 272 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6882, allocations: 8.031 kB / 0.5784 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.6883, allocations: 82.53 kB / 0.5785 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6884, allocations: 54.14 kB / 0.5785 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.689, allocations: 274.4 kB / 0.5788 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.689, allocations: 28.98 kB / 0.5788 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.6891, allocations: 36 kB / 0.5789 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.6906, allocations: 0.5373 MB / 0.5794 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6907, allocations: 4 kB / 0.5794 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.6907, allocations: 15.98 kB / 0.5794 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/0.6908, allocations: 40.92 kB / 0.5794 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.6924, allocations: 0.5786 MB / 0.58 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.6953, allocations: 1.199 MB / 0.5812 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.6965, allocations: 380.1 kB / 0.5815 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.6966, allocations: 16.16 kB / 0.5816 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6966, allocations: 30.75 kB / 0.5816 GB, free: 12.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.6967, allocations: 0 / 0.5816 GB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001699/0.6984, allocations: 478.8 kB / 0.582 GB, free: 12.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.6984, allocations: 51.41 kB / 0.5821 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.6992, allocations: 404.8 kB / 0.5825 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6993, allocations: 29.7 kB / 0.5825 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6994, allocations: 230.8 kB / 0.5827 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6996, allocations: 75 kB / 0.5828 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.6996, allocations: 3.938 kB / 0.5828 GB, free: 11.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6998, allocations: 322.8 kB / 0.5831 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.7002, allocations: 119.9 kB / 0.5832 GB, free: 11.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.7007, allocations: 119.6 kB / 0.5833 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.7012, allocations: 139.8 kB / 0.5835 GB, free: 10.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7012, allocations: 0 / 0.5835 GB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001141/0.7023, allocations: 317.3 kB / 0.5838 GB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7024, allocations: 8 kB / 0.5838 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7024, allocations: 0 / 0.5838 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.7024, allocations: 0 / 0.5838 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.7039, allocations: 159.8 kB / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.7082, allocations: 5.513 MB / 0.5893 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.7087, allocations: 51.39 kB / 0.5894 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.7088, allocations: 16.73 kB / 0.5894 GB, free: 4.645 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.7092, allocations: 193.6 kB / 0.5896 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.7093, allocations: 35.81 kB / 0.5896 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.7109, allocations: 454.5 kB / 0.59 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.7109, allocations: 4 kB / 0.59 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7109, allocations: 0 / 0.59 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7109, allocations: 7.984 kB / 0.59 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.7117, allocations: 377.2 kB / 0.5904 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7117, allocations: 3.938 kB / 0.5904 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.7131, allocations: 155.9 kB / 0.5906 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.7131, allocations: 3.938 kB / 0.5906 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.7132, allocations: 8 kB / 0.5906 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.7175, allocations: 5.524 MB / 0.596 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7176, allocations: 3.938 kB / 0.596 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.7189, allocations: 462.1 kB / 0.5964 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.7191, allocations: 116.6 kB / 0.5965 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.7192, allocations: 11.98 kB / 0.5965 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.7195, allocations: 8 kB / 0.5965 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.7196, allocations: 23.97 kB / 0.5966 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.7197, allocations: 15.98 kB / 0.5966 GB, free: 12.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006145/0.7203, allocations: 331.1 kB / 0.5969 GB, free: 12.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7203, allocations: 0 / 0.5969 GB, free: 12.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.721, allocations: 107.8 kB / 0.597 GB, free: 12.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001888/0.7229, allocations: 1.058 MB / 0.598 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.7249, allocations: 375.5 kB / 0.5984 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7249, allocations: 4 kB / 0.5984 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.7264, allocations: 251.6 kB / 0.5986 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/0.7272, allocations: 82.48 kB / 0.5987 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.7337, allocations: 2.629 MB / 0.6013 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7344, allocations: 0.858 MB / 0.6021 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.7347, allocations: 111.4 kB / 0.6022 GB, free: 7.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7347, allocations: 0 / 0.6022 GB, free: 7.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.346/4.081, allocations: 20.57 MB / 0.6223 GB, free: 2.523 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat