Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",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.001149/0.001149, allocations: 180.7 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.408/1.408, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009456/0.0009456, allocations: 91.17 kB / 287 MB, free: 268 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.1908/0.1908, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.696e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5832, allocations: 97.96 MB / 0.5975 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5836, allocations: 95.92 kB / 0.5976 GB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04415/0.6278, allocations: 14.74 MB / 0.612 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6278, allocations: 0 / 0.612 GB, free: 8.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.6278, allocations: 12 kB / 0.612 GB, free: 8.312 MB / 426.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.001175/0.629, allocations: 0.5957 MB / 0.6126 GB, free: 7.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.6291, allocations: 8.031 kB / 0.6126 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.6292, allocations: 90.45 kB / 0.6127 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6294, allocations: 43.44 kB / 0.6127 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.6298, allocations: 265.9 kB / 0.613 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.6299, allocations: 32.77 kB / 0.613 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.63, allocations: 47.95 kB / 0.613 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/0.6309, allocations: 0.5124 MB / 0.6135 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.631, allocations: 0 / 0.6135 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.631, allocations: 16 kB / 0.6135 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.6311, allocations: 36.98 kB / 0.6136 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.6319, allocations: 0.5348 MB / 0.6141 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.6341, allocations: 1.206 MB / 0.6153 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.6347, allocations: 356.1 kB / 0.6156 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.635, allocations: 121.1 kB / 0.6157 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.635, allocations: 8.172 kB / 0.6157 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.6351, allocations: 42.69 kB / 0.6158 GB, free: 4.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.6351, allocations: 0 / 0.6158 GB, free: 4.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006539/0.6357, allocations: 321.1 kB / 0.6161 GB, free: 3.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6358, allocations: 55.41 kB / 0.6161 GB, free: 3.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.6363, allocations: 395.5 kB / 0.6165 GB, free: 3.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.6363, allocations: 29.7 kB / 0.6165 GB, free: 3.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.6365, allocations: 192.4 kB / 0.6167 GB, free: 3.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.6366, allocations: 74.84 kB / 0.6168 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.6366, allocations: 8 kB / 0.6168 GB, free: 3.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6367, allocations: 346.8 kB / 0.6171 GB, free: 2.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.6369, allocations: 99.91 kB / 0.6172 GB, free: 2.703 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.6371, allocations: 103.9 kB / 0.6173 GB, free: 2.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6373, allocations: 115 kB / 0.6174 GB, free: 2.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6373, allocations: 4 kB / 0.6174 GB, free: 2.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005485/0.6379, allocations: 312.9 kB / 0.6177 GB, free: 2.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6379, allocations: 12 kB / 0.6178 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.638, allocations: 3.984 kB / 0.6178 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.638, allocations: 0 / 0.6178 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.6388, allocations: 143.9 kB / 0.6179 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.6422, allocations: 5.524 MB / 0.6233 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.6426, allocations: 47.42 kB / 0.6233 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.6426, allocations: 11.98 kB / 0.6234 GB, free: 12.23 MB / 442.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 () * 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.0001132/0.6427, allocations: 109 kB / 0.6235 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.6428, allocations: 39.48 kB / 0.6235 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.6436, allocations: 428.3 kB / 0.6239 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6437, allocations: 4 kB / 0.6239 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6437, allocations: 0 / 0.6239 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6437, allocations: 0 / 0.6239 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.6442, allocations: 369.3 kB / 0.6243 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6443, allocations: 0 / 0.6243 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.645, allocations: 151.9 kB / 0.6244 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.645, allocations: 7.891 kB / 0.6244 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.6451, allocations: 11.98 kB / 0.6244 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.6483, allocations: 5.516 MB / 0.6298 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6483, allocations: 0 / 0.6298 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.6489, allocations: 421.9 kB / 0.6302 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.649, allocations: 128.5 kB / 0.6303 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.6491, allocations: 0 / 0.6303 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.6493, allocations: 15.98 kB / 0.6303 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.6494, allocations: 15.97 kB / 0.6304 GB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.6494, allocations: 15.98 kB / 0.6304 GB, free: 4.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003704/0.6498, allocations: 326.1 kB / 0.6307 GB, free: 4.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6498, allocations: 4 kB / 0.6307 GB, free: 4.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005795/0.6504, allocations: 155.7 kB / 0.6308 GB, free: 4.25 MB / 442.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 () * 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.001372/0.6518, allocations: 1.107 MB / 0.6319 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.6528, allocations: 342.8 kB / 0.6322 GB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6528, allocations: 0 / 0.6322 GB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.6536, allocations: 231.7 kB / 0.6325 GB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.654, allocations: 81.92 kB / 0.6325 GB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.6556, allocations: 0.7081 MB / 0.6332 GB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.656, allocations: 0.862 MB / 0.6341 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.6563, allocations: 79.22 kB / 0.6342 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6565, allocations: 111.4 kB / 0.6343 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6565, allocations: 0 / 0.6343 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.6879, allocations: 11.98 MB / 0.646 GB, free: 4.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.6883, allocations: 229.1 kB / 0.6462 GB, free: 4.699 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.093, allocations: 7.094 kB / 0.6462 GB, free: 4.695 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat