Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001002/0.001002, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008845/0.0008844, allocations: 94.86 kB / 270.2 MB, free: 13.38 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.2132/0.2132, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003148, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 58.87 MB / 490.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5779, allocations: 91.84 MB / 0.5686 GB, free: 7.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5783, allocations: 96.56 kB / 0.5687 GB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.6058, allocations: 9.411 MB / 0.5779 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6059, allocations: 0 / 0.5779 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.6059, allocations: 4 kB / 0.5779 GB, free: 15.62 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.001079/0.607, allocations: 0.5881 MB / 0.5784 GB, free: 15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.607, allocations: 8.031 kB / 0.5784 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.6072, allocations: 83.08 kB / 0.5785 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.6074, allocations: 39.53 kB / 0.5786 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.6079, allocations: 281.9 kB / 0.5788 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.6079, allocations: 30.75 kB / 0.5789 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.608, allocations: 34.12 kB / 0.5789 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.6089, allocations: 0.5397 MB / 0.5794 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6089, allocations: 0 / 0.5794 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.609, allocations: 16 kB / 0.5794 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.609, allocations: 32.97 kB / 0.5795 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.61, allocations: 0.5783 MB / 0.58 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.612, allocations: 1.196 MB / 0.5812 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.6127, allocations: 384.4 kB / 0.5816 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.6127, allocations: 8.109 kB / 0.5816 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6128, allocations: 38.38 kB / 0.5816 GB, free: 12.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.194e-06/0.6128, allocations: 0 / 0.5816 GB, free: 12.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001004/0.6138, allocations: 472.6 kB / 0.5821 GB, free: 11.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.6139, allocations: 55.41 kB / 0.5821 GB, free: 11.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.6143, allocations: 409.2 kB / 0.5825 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.6144, allocations: 33.64 kB / 0.5825 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.6145, allocations: 189.6 kB / 0.5827 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.6146, allocations: 66.64 kB / 0.5828 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.6146, allocations: 4 kB / 0.5828 GB, free: 11.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6148, allocations: 350.1 kB / 0.5831 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6151, allocations: 123.6 kB / 0.5832 GB, free: 10.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.6153, allocations: 131.3 kB / 0.5834 GB, free: 10.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.6156, allocations: 130.7 kB / 0.5835 GB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6156, allocations: 0 / 0.5835 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006623/0.6163, allocations: 351 kB / 0.5838 GB, free: 10.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6163, allocations: 4 kB / 0.5838 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6164, allocations: 0 / 0.5838 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6164, allocations: 4 kB / 0.5838 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.6172, allocations: 155.7 kB / 0.584 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.6208, allocations: 5.516 MB / 0.5894 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.6211, allocations: 55.08 kB / 0.5894 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.6212, allocations: 11.98 kB / 0.5894 GB, free: 4.223 MB / 394.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.0002922/0.6215, allocations: 200.9 kB / 0.5896 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.6216, allocations: 39.56 kB / 0.5897 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.6225, allocations: 458.1 kB / 0.5901 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6225, allocations: 0 / 0.5901 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6225, allocations: 0 / 0.5901 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6225, allocations: 7.984 kB / 0.5901 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.6231, allocations: 374.9 kB / 0.5905 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6231, allocations: 0 / 0.5905 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.6238, allocations: 155.7 kB / 0.5906 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6239, allocations: 0 / 0.5906 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.6239, allocations: 15.81 kB / 0.5906 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.628, allocations: 5.517 MB / 0.596 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.628, allocations: 3.938 kB / 0.596 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.6288, allocations: 458.5 kB / 0.5964 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.6291, allocations: 120.6 kB / 0.5966 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.6292, allocations: 3.984 kB / 0.5966 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.6294, allocations: 15.94 kB / 0.5966 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.6295, allocations: 15.97 kB / 0.5966 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.6296, allocations: 15.86 kB / 0.5966 GB, free: 12.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004705/0.63, allocations: 331.8 kB / 0.5969 GB, free: 12.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6301, allocations: 0 / 0.5969 GB, free: 12.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.6306, allocations: 107.6 kB / 0.597 GB, free: 12.43 MB / 410.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.001436/0.6321, allocations: 1.057 MB / 0.5981 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.6332, allocations: 374.5 kB / 0.5984 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6332, allocations: 0 / 0.5984 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.634, allocations: 251.3 kB / 0.5987 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.6345, allocations: 92.05 kB / 0.5987 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.6389, allocations: 2.604 MB / 0.6013 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.6396, allocations: 0.8601 MB / 0.6021 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.6399, allocations: 83.2 kB / 0.6022 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6401, allocations: 111.9 kB / 0.6023 GB, free: 7.449 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6401, allocations: 0 / 0.6023 GB, free: 7.449 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.6747, allocations: 10.79 MB / 0.6129 GB, free: 12.72 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.675, allocations: 246.9 kB / 0.6131 GB, free: 12.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.115, allocations: 4.062 kB / 0.6131 GB, free: 12.38 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat