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_overall.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006811/0.0006811, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007666/0.0007667, allocations: 174.2 kB / 16.58 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.55 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004926, allocations: 26.64 kB / 384.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 58.84 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002348/0.1147, allocations: 1.774 MB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.1175, allocations: 1.914 MB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1177, allocations: 7.938 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1181, allocations: 55.72 kB / 446.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1184, allocations: 91.44 kB / 446.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.1194, allocations: 338.8 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000592/0.12, allocations: 485.9 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1201, allocations: 52.92 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.1205, allocations: 151.2 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.1208, allocations: 199.1 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.1209, allocations: 12 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.1219, allocations: 0.5537 MB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.122, allocations: 119.5 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1222, allocations: 77.52 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.1229, allocations: 482.7 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1229, allocations: 0 / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1229, allocations: 4 kB / 449.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1229, allocations: 0 / 449.2 MB, free: 6.637 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001272/0.1242, allocations: 0.7016 MB / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1243, allocations: 12.02 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1244, allocations: 82.53 kB / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.426e-05/0.1245, allocations: 47.39 kB / 450 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.1249, allocations: 315.2 kB / 450.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1249, allocations: 25 kB / 450.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.125, allocations: 40 kB / 450.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.1259, allocations: 0.5817 MB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1259, allocations: 3.938 kB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.126, allocations: 16 kB / 451 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.126, allocations: 24.98 kB / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.1269, allocations: 451.5 kB / 451.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.1287, allocations: 1.387 MB / 452.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.1293, allocations: 287.5 kB / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1296, allocations: 154.5 kB / 453.3 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.1296, allocations: 7.938 kB / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1297, allocations: 50.44 kB / 453.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1297, allocations: 4 kB / 453.3 MB, free: 2.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001159/0.1309, allocations: 485 kB / 453.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1309, allocations: 106.8 kB / 453.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.1316, allocations: 0.5409 MB / 454.4 MB, free: 1.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1316, allocations: 33.64 kB / 454.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1318, allocations: 212.3 kB / 454.7 MB, free: 0.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.1318, allocations: 63.09 kB / 454.7 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.1319, allocations: 0 / 454.7 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.132, allocations: 358.8 kB / 455.1 MB, free: 420 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.1323, allocations: 136 kB / 455.2 MB, free: 284 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1327, allocations: 185.3 kB / 455.4 MB, free: 80 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1977/0.3304, allocations: 147.4 kB / 455.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.3304, allocations: 0 / 455.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008302/0.3312, allocations: 410.2 kB / 455.9 MB, free: 46.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3313, allocations: 8.156 kB / 456 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/0.3313, allocations: 32.2 kB / 456 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3314, allocations: 2.688 kB / 456 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3316, allocations: 40.47 kB / 456 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3316, allocations: 1 kB / 456 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.3319, allocations: 70.48 kB / 456.1 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3319, allocations: 16.06 kB / 456.1 MB, free: 46.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * 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.0002143/0.3322, allocations: 185.3 kB / 456.3 MB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3323, allocations: 42.41 kB / 456.3 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.333, allocations: 398.1 kB / 456.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.333, allocations: 5.656 kB / 456.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.333, allocations: 2.234 kB / 456.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.333, allocations: 3.422 kB / 456.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3335, allocations: 371.1 kB / 457.1 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/0.3335, allocations: 33.98 kB / 457.1 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3337, allocations: 41.83 kB / 457.2 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3337, allocations: 0 / 457.2 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3337, allocations: 12.89 kB / 457.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3337, allocations: 3.062 kB / 457.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3337, allocations: 3.219 kB / 457.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.3344, allocations: 0.5944 MB / 457.8 MB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3346, allocations: 159.2 kB / 457.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.3346, allocations: 5.906 kB / 457.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3349, allocations: 28.64 kB / 458 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.335, allocations: 25.77 kB / 458 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.335, allocations: 11.14 kB / 458 MB, free: 45.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.3354, allocations: 409.2 kB / 458.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 458.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.3359, allocations: 149.1 kB / 458.6 MB, free: 45.87 MB / 382.1 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 () * Number of clocked 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.001064/0.337, allocations: 1.255 MB / 459.8 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006795/0.3377, allocations: 0.5451 MB / 460.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3377, allocations: 0 / 460.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.3381, allocations: 401.4 kB / 460.8 MB, free: 44.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.3387, allocations: 99.58 kB / 460.8 MB, free: 44.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.3425, allocations: 3.06 MB / 463.9 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3428, allocations: 0.8607 MB / 464.8 MB, free: 42.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.343, allocations: 65.59 kB / 464.8 MB, free: 42.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3431, allocations: 117.8 kB / 464.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3431, allocations: 0 / 464.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.3658, allocations: 12.17 MB / 477.1 MB, free: 41.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.3659, allocations: 227.6 kB / 477.3 MB, free: 41.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.32, allocations: 6.844 kB / 477.3 MB, free: 41.68 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat