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.002148/0.002148, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 94.97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3496/0.3496, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.604e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 58.85 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.5869, allocations: 91.09 MB / 0.555 GB, free: 8.113 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.5873, allocations: 99.44 kB / 0.5551 GB, free: 8.02 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04391/0.6313, allocations: 9.283 MB / 0.5641 GB, free: 14.57 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6313, allocations: 0 / 0.5641 GB, free: 14.57 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.6314, allocations: 8 kB / 0.5641 GB, free: 14.56 MB / 411.1 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.001181/0.6325, allocations: 0.5613 MB / 0.5647 GB, free: 13.96 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6326, allocations: 8.031 kB / 0.5647 GB, free: 13.95 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.6327, allocations: 39.53 kB / 0.5647 GB, free: 13.91 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.6333, allocations: 286.2 kB / 0.565 GB, free: 13.59 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.6333, allocations: 12 kB / 0.565 GB, free: 13.58 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.6334, allocations: 23.98 kB / 0.565 GB, free: 13.55 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/0.6345, allocations: 485.8 kB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6356, allocations: 473 kB / 0.566 GB, free: 12.61 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6357, allocations: 7.922 kB / 0.566 GB, free: 12.6 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.6357, allocations: 4 kB / 0.566 GB, free: 12.6 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.267e-05/0.6358, allocations: 37.28 kB / 0.566 GB, free: 12.56 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.6387, allocations: 1.046 MB / 0.567 GB, free: 11.47 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.6398, allocations: 415.8 kB / 0.5674 GB, free: 11.06 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.6402, allocations: 133.2 kB / 0.5675 GB, free: 10.93 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.6403, allocations: 12.22 kB / 0.5676 GB, free: 10.91 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6403, allocations: 30.8 kB / 0.5676 GB, free: 10.88 MB / 411.1 MB Notification: Performance of pre-optimization done (n=28): time 4.008e-06/0.6403, allocations: 4 kB / 0.5676 GB, free: 10.87 MB / 411.1 MB Notification: Performance of matching and sorting (n=28): time 0.001005/0.6413, allocations: 339.1 kB / 0.5679 GB, free: 10.54 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6414, allocations: 55.41 kB / 0.568 GB, free: 10.47 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.6416, allocations: 129.4 kB / 0.5681 GB, free: 10.34 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.6416, allocations: 25.7 kB / 0.5681 GB, free: 10.3 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6418, allocations: 266.5 kB / 0.5684 GB, free: 10.04 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.642, allocations: 86.66 kB / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.642, allocations: 3.938 kB / 0.5685 GB, free: 9.953 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6421, allocations: 322.8 kB / 0.5688 GB, free: 9.629 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.6425, allocations: 115.9 kB / 0.5689 GB, free: 9.516 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.6428, allocations: 119.9 kB / 0.569 GB, free: 9.398 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.6432, allocations: 135.8 kB / 0.5691 GB, free: 9.266 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6432, allocations: 0 / 0.5691 GB, free: 9.266 MB / 411.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008987/0.6441, allocations: 318 kB / 0.5694 GB, free: 8.949 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6442, allocations: 8 kB / 0.5694 GB, free: 8.941 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6442, allocations: 3.938 kB / 0.5694 GB, free: 8.938 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.6442, allocations: 0 / 0.5694 GB, free: 8.938 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.6457, allocations: 155.9 kB / 0.5696 GB, free: 8.785 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.6499, allocations: 5.548 MB / 0.575 GB, free: 3.027 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.6503, allocations: 24.02 kB / 0.575 GB, free: 3.004 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.6504, allocations: 15.98 kB / 0.575 GB, free: 2.988 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * 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.0001532/0.6505, allocations: 104.9 kB / 0.5751 GB, free: 2.879 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008968/0.6514, allocations: 321.2 kB / 0.5754 GB, free: 2.559 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.6515, allocations: 15.81 kB / 0.5755 GB, free: 2.543 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.6528, allocations: 442.8 kB / 0.5759 GB, free: 2.102 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6528, allocations: 4 kB / 0.5759 GB, free: 2.098 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6529, allocations: 0 / 0.5759 GB, free: 2.098 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6529, allocations: 7.984 kB / 0.5759 GB, free: 2.09 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.6536, allocations: 345.7 kB / 0.5762 GB, free: 1.715 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6537, allocations: 4 kB / 0.5762 GB, free: 1.711 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.6551, allocations: 155.9 kB / 0.5764 GB, free: 1.559 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.6552, allocations: 4 kB / 0.5764 GB, free: 1.555 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.6552, allocations: 11.92 kB / 0.5764 GB, free: 1.543 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004319/0.6596, allocations: 5.548 MB / 0.5818 GB, free: 11.79 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.6596, allocations: 0 / 0.5818 GB, free: 11.79 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6606, allocations: 431.7 kB / 0.5822 GB, free: 11.35 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.6608, allocations: 97.05 kB / 0.5823 GB, free: 11.23 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.6608, allocations: 7.984 kB / 0.5823 GB, free: 11.23 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.6612, allocations: 7.953 kB / 0.5823 GB, free: 11.22 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6613, allocations: 23.95 kB / 0.5823 GB, free: 11.2 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.6613, allocations: 12 kB / 0.5824 GB, free: 11.18 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.6615, allocations: 112.1 kB / 0.5825 GB, free: 11.07 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6615, allocations: 0 / 0.5825 GB, free: 11.07 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.6622, allocations: 123.5 kB / 0.5826 GB, free: 10.95 MB / 427.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * 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.001678/0.6639, allocations: 1.035 MB / 0.5836 GB, free: 9.895 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.6657, allocations: 363.6 kB / 0.5839 GB, free: 9.539 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6658, allocations: 4 kB / 0.5839 GB, free: 9.535 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.6672, allocations: 243.7 kB / 0.5842 GB, free: 9.297 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.6677, allocations: 20.53 kB / 0.5842 GB, free: 9.277 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.6698, allocations: 0.6736 MB / 0.5849 GB, free: 8.562 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.6704, allocations: 0.8534 MB / 0.5857 GB, free: 7.676 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.6707, allocations: 115.4 kB / 0.5858 GB, free: 7.562 MB / 427.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6707, allocations: 0 / 0.5858 GB, free: 7.562 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.429/4.099, allocations: 18.93 MB / 0.6043 GB, free: 4.613 MB / 443.1 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